Guest User

Untitled

a guest
Apr 26th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. public OnPlayerCommandText(playerid, cmdtext[])
  2. {
  3. if (!strcmp(cmdtext, "/mall", true))
  4. {
  5. SetPlayerPos(playerid, 1129.096313,-1449.234130,14.761090);
  6. return 1;
  7. }
  8. return 0;
  9. }
  10.  
  11. if(strcmp(cmd, "/heal", true) == 0)
  12. {
  13. SetPlayerHealth(playerid, 100);
  14. SetPlayerArmour(playerid, 100);
  15. return 1;
  16. }
  17. return 0;
  18. }
Add Comment
Please, Sign In to add comment