Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR, "Your not an admin to use that command!");
- if(strcmp(cmdtext, "/givememoney", true, 11) == 0)
- {
- new string[106];
- format(string, sizeof(string), "%d", string);
- GivePlayerMoney(playerid, string);
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement