16.08.2015, 11:50
Try:
PHP код:
CMD:Animation(playerid, params[]) {
new animlib[32], animname[32],loop;
if(sscanf(params, "s[32]s[32]i", animlib, animname, loop)) return SendClientMessage(playerid, -1, "{FF0000}Use: /anim [animlib] [animname] [loop (0-1)");
SetPlayerSpecialAction(playerid, (animlib, animname, 4.1, loop, 1, 1, 0, 0)); printf"(running Animation %d",animname);
return 1;
}