[HELP]Animations - 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]Animations (
/showthread.php?tid=128240)
[HELP]Animations -
FreddeN - 16.02.2010
Hello everyone

i really need some help about animations!
i tried the /gwalk and sometimes it raped the login system, or else it makes the game crash, i know about applyanimation
and PLEASE dont say im just gonna search for it, i tried

pawn code:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/gwalk", cmdtext, true, 10) == 0)
{
ApplyAnimation(playerid,"GWALK","WALK_gang1",4.0,0,0,0,0,0);
}
return 1;
}
Re: [HELP]Animations -
gotenks918 - 16.02.2010
I don't really code but shouldn't the 10 be 6?
Re: [HELP]Animations -
OxygenBR - 16.02.2010
Try
pawn Код:
if (strcmp(cmdtext, "/gwalk", true) == 0)
{
ApplyAnimation(playerid,"GWALK","WALK_gang1",4.0,0,0,0,0,0);
return 1;
}
Re: [HELP]Animations -
FreddeN - 17.02.2010
OMG! DUDE THANKS SO MUCH!