17.08.2013, 12:54
It's quite simple, as you can see you got a variable IsCuffed[ID] = 1 on the cuff thing.
What you'll do next is:
What you'll do next is:
pawn Код:
//Same shit about distances, or if player isn't cuffed, etc..
if(IsCuffed[ID] == 0)
{
format(string, sizeof(string), "%s ain't cuffed nigga.", PlayerName(ID));
SendClientMessage(playerid, -1, string);
}
//Then let's uncuff him, with you CMD, you will put the following:
IsCuffed[ID] = 0; // Not cuffed
TogglePlayerControllable(ID,1); //Controllable
ClearAnimations(ID); //Removing the animation off the player

