21.06.2012, 18:51
Hi, I have a problem with the handcuffs system. When a player has the special animation, and when he press the Aim Key + the Enter Key (Combact Style), the special animation disappears. What I have to do to fix this?
freeze(cuffed_player_id); // at cuff
unfreeze(cuffed_player_id); // at uncuff
public OnPlayerUpdate(playerid)
{
if(IsPlayerCuffed[playerid]) // Replace with the cuff variable.
{
SetPlayerSpecialAction(playerb,SPECIAL_ACTION_CUFFED);
}
return 1;
}