[HELP]Animations
#1

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;
}
Reply
#2

I don't really code but shouldn't the 10 be 6?
Reply
#3

Try

pawn Код:
if (strcmp(cmdtext, "/gwalk", true) == 0)
{
    ApplyAnimation(playerid,"GWALK","WALK_gang1",4.0,0,0,0,0,0);
    return 1;
}
Reply
#4

OMG! DUDE THANKS SO MUCH!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)