04.04.2010, 19:20
pawn Код:
if(newstate == PLAYER_STATE_ONFOOT && GetPlayerDrunkLevel(playerid) > 1000)
{
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
SendClientMessage(playerid,COLOR_YELLOW,"You're Drunk!!");
}
So: Oldstate: ONFOOT --> Newstate:Car --> Newstate:ONFOOT <--- Start :O
You have better to add the animation at the point where players get set the drunklevel ^^