Advertisement
Guest User

Untitled

a guest
May 27th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.39 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3.  
  4. public OnPlayerCommandText(playerid, cmdtext[])
  5. {
  6.  
  7.  if(IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR, "Your not an admin to use that command!");
  8.  if(strcmp(cmdtext, "/givememoney", true, 11) == 0)
  9.   {
  10.     new string[106];
  11.     format(string, sizeof(string), "%d", string);
  12.     GivePlayerMoney(playerid, string);
  13.     return 1;
  14.   }
  15.  
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement