applyanimation crashing the game?
#4

pawn Код:
new lib[30], name[30], //these would be the max sizes
    Float:speed, loop;
if (sscanf(params, "s[30]s[30]fi", lib, name, speed, loop)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Usage:{FFFFFF} /tryanim <library> <name> <speed 1.0-10.0> <loop 0/1>");
if(loop > 1 || loop < 0) return SendClientMessage(playerid, COLOR_RED, "Loop must be either 0 or 1");
if(speed < 1.0 || speed > 10.0) return SendClientMessage(playerid, COLOR_RED, "Speed can be no less than 1.0 and no greater than 10.0");
//some checks for lib/name..
ApplyAnimation(playerid, lib, name, speed, loop, 0, 0, 0, 0); // Sit
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)