22.05.2012, 15:49
It does remove the object but it actually doesn't reset/clear the special animation:
The command (/uncuff):
Код:
SPECIAL_ACTION_CUFFED
Код:
if(!strcmp(cmdtext, "/uncuff", true)) { ClearAnimations(playerid); RemovePlayerAttachedObject(playerid, 0); TogglePlayerControllable(playerid, true); SendClientMessage(playerid, 0xFFDE00FF, "You've been uncuffed. {00E2FF}Psst, fuck those officers once again!"); return 1; }