08.09.2012, 10:54
Код:
if(GetPlayerSpecialAction(zmogus) != SPECIAL_ACTION_CUFFED)
{
new Float:x, Float:y, Float:z;
TogglePlayerControllable(zmogus, false);
SetPlayerSpecialAction(zmogus, SPECIAL_ACTION_CUFFED);
SetPlayerFacingAngle(zmogus, playerid);
GetPlayerPos(playerid, x, y, z);
GetXYInFrontOfPlayer(playerid, x, y, 0.5);
SetPlayerPos(zmogus, x, y, z);
ApplyAnimation(playerid, "GANGS", "hndshkfa", 4.1, 0, 0, 0, 0, 0, 1);
Talk(playerid, "You're under arrest!");
return 0;
}

