[UNSOLVED]walking drunk
#8

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!!");
}
With this you say that the animation shall start after the newstate is ONFOOT :O
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 ^^
Reply


Messages In This Thread
[UNSOLVED]walking drunk - by pmk1 - 04.04.2010, 17:45
Re: question about drunk level - by [MWR]Blood - 04.04.2010, 17:45
Re: question about drunk level - by pmk1 - 04.04.2010, 17:47
Re: question about drunk level - by [MWR]Blood - 04.04.2010, 17:48
Re: question about drunk level - by pmk1 - 04.04.2010, 17:50
Re: question about drunk level - by [MWR]Blood - 04.04.2010, 17:51
Re: question about drunk level - by pmk1 - 04.04.2010, 17:52
Re: [UNSOLVED]problem with onplayerchangestate (drunk system) - by Last_Stand_Guardian - 04.04.2010, 19:20
Re: [UNSOLVED]problem with onplayerchangestate (drunk system) - by pmk1 - 05.04.2010, 03:22
Re: [UNSOLVED]problem with onplayerchangestate (drunk system) - by pmk1 - 05.04.2010, 18:40

Forum Jump:


Users browsing this thread: 3 Guest(s)