Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!strcmp(cmd, "/cuff", true))
- {
- cmd = strtok(cmdtext, idx);
- if(!strlen(cmd)) return SendClientMessage(playerid, 0xFFDE00FF, "Usage: /Cuff {51FF00}[ID]");
- new id = strval(cmd);
- if(!IsPlayerConnected(id)) return SendClientMessage(playerid, 0xFF0000AA,"The player is offline or you mistyped the ID.");
- if(playerid == id) return SendClientMessage(playerid, 0x00E2FFFF, "You cannot cuff yourself, {FF0000}stupid{00E2FF}.");
- cmd = strrest(cmdtext, idx);
- if(strlen(cmd)) return SetPlayerSpecialAction(id, SPECIAL_ACTION_CUFFED), SetPlayerAttachedObject(id, 0, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment