10.08.2012, 14:57
(
Last edited by AliveBG; 10/08/2012 at 03:39 PM.
)
read this ApplyAnimation and SetPlayerSpecialAction.
this is example:
Edit: [MM]RoXoR[FS] overtake me.
this is example:
PHP Code:
if(strcmp(cmdtext, "/arrest", true) == 0)
{
if(GetPlayerState(playerid) == 1)
{
ApplyAnimation(playerid, "PED", "ARRESTgun", 4.0, 0, 1, 1, 1, -1); // Gun Arrest
}
return 1;
}