Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmd,"/gangshake",true)==0)
- {
- if(IsPlayerConnected(playerid))
- {
- tmp = strtok(cmdtext, idx);
- if(!strlen(tmp))
- {
- SendClientMessage(playerid, GREY, "/gangshake [playerid] [1 to 8]");
- return 1;
- }
- new playa = ReturnUser(tmp);
- tmp = strtok(cmdtext, idx);
- if(!strlen(tmp))
- {
- SendClientMessage(playerid, GREY, "/gangshake [playerid] [1 to 8]");
- return 1;
- }
- new kind = strval(tmp);
- if(kind < 1 || kind > 8)
- {
- SendClientMessage(playerid, GREY, "availble numbers from 1 to 8");
- return 1;
- }
Add Comment
Please, Sign In to add comment