10.03.2009, 07:53
i think you have to do it like this then:
I dont know if it works.I just did it from scratch, I hope for you it works 
Код:
if (strcmp("/anim", cmdtext, true) == 0) { if(gFreeze[playerid] == 0) { OnePlayAnim(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0); gLoopingAnim[playerid] = 1; return 1; } else { SendClientMessage(playerid, COLOR_RED, "Applying animations while frozen is not allowed!"); return 1; } SetTimer("message",1000,false); { if(gFreeze[playerid] == 0) { OnePlayAnim(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0); gLoopingAnim[playerid] = 1; return 1; } else { SendClientMessage(playerid, COLOR_RED, "Applying animations while frozen is not allowed!"); return 1; } } }
