ApplyAnimation don't work =/ - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ApplyAnimation don't work =/ (
/showthread.php?tid=75215)
ApplyAnimation don't work =/ -
Bearfist - 29.04.2009
Hi again =)
So this Is my Code and I want to see the drunken walk xD...but it doesn't work
Код:
if(strcmp("/talcohol",cmdtext,true) == 0)
{
if(alcohol[playerid] >= 1)
{
ApplyAnimation(playerid,"DRUNK","WALK_drunk",4.1,0,0,0,0,1000);
alcohol[playerid] -=1;
}
else
{
SendClientMessage(playerid,COLOR_RED,"You Don't Have Alcohol!");
}
return 1;
}
Anyone have an Idea why ?
Re: ApplyAnimation don't work =/ -
*BueNoOo* - 29.04.2009
pawn Код:
if(strcmp(cmdtext, "/drunk", true) == 0) {
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
return 1;
}
}
Try this one
Re: ApplyAnimation don't work =/ -
Bearfist - 29.04.2009
Works =)
thanks very much
Bearfist