Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp(cmdtext, "/cmd1", true)==0)
- {
- //code goes here...
- return 1;
- }
- else if (strcmp(cmdtext, "/cmd2", true)==0)
- {
- //code goes here...
- return 1;
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment