applyanimation crashing the game?
#1

Hi ,
i'm trying to make a command which i can test out each animations in-game.

(i'm using SSCANF and ZCMD)

Код:
CMD:tryanim( playerid,params[])
{
	    
   	if ( sscanf( params, "sssi", params[ 0 ], params[ 1 ], params[ 2 ], params[ 3 ] ) )
	    return SendClientMessage( playerid, COLOR_LIGHTBLUE , "Usage:{FFFFFF} /tryanim <library> <name> <speed 1.0-10.0> <loop 0/1>");


    ApplyAnimation(playerid, params[ 0 ], params[ 1 ], params[ 2 ], params[ 3 ], 0, 0, 0, 0); // Sit
    return 1;
}
But when i click enter for the command , for example , /tryanim BD_FIRE BE_Fire1 4.0 1 , my game just crashes.

I hope someone can help me point out my mistake.

Thankss
Reply


Messages In This Thread
applyanimation crashing the game? - by the.et - 19.01.2012, 06:06
Re: applyanimation crashing the game? - by MP2 - 19.01.2012, 07:21
Re: applyanimation crashing the game? - by the.et - 19.01.2012, 07:35
Re: applyanimation crashing the game? - by [ABK]Antonio - 19.01.2012, 08:09
Re: applyanimation crashing the game? - by the.et - 19.01.2012, 08:41

Forum Jump:


Users browsing this thread: 1 Guest(s)