23.12.2010, 00:23
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (newkeys & KEY_WALK)
{
if(PlayerToPoint(2.0,playerid,1759.9247,-1924.5101,13.5753))
{
if(luzencendia[playerid] == 1){
luzencendia[playerid] = 0;
SetWorldTime(6);
TextDrawHideForPlayer(playerid, alt);
ApplyAnimation(playerid,"PED","gang_gunstand",4.0,1,1,1,1,1); //<<<<<<<<< ESTA ANIM
SetTimerEx("animacionoff",2000, false, "i", playerid);
}
}
}
return 1;
}