Guest User

Untitled

a guest
May 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. public OnPlayerCommandText(playerid, cmdtext[])
  2. {
  3.  
  4. if (strcmp(cmdtext, "/cmd1", true)==0)
  5. {
  6. //code goes here...
  7. return 1;
  8. }
  9. else if (strcmp(cmdtext, "/cmd2", true)==0)
  10. {
  11. //code goes here...
  12. return 1;
  13. }
  14. return 0;
  15. }
Add Comment
Please, Sign In to add comment