help - 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: help (
/showthread.php?tid=240531)
help -
tanush - 16.03.2011
How i apply animation drunk when player picking skin??
i put
pawn Код:
public OnPlayerRequestClass
{
blah blah blah
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
return 1;
}
but the animation only works on first skin
Re: help -
Marricio - 16.03.2011
pawn Код:
public OnPlayerRequestClass
{
blah blah blah
if(classid == 0)
{
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
}
else
{
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
}
return 1;
}
Re: help -
tanush - 16.03.2011
actually i have 23 classid, do i do that with all?? cause with i do with classid 0 it only works on first skin
Re: help -
admantis - 16.03.2011
pawn Код:
public OnPlayerRequestClass
{
switch (classid)
{
case 0..22: ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
}
return 1;
}
Re: help -
tanush - 16.03.2011
STILL WONT WORK