01.03.2015, 10:36
Hey guys,
i made a little script, when player is training his "logic" and everything works, even the training but after i write the command, to start the training, the animation is not showing up. Animation is showing just after i write the command second time, which is not, what i want.
The code:
Thank you guys!
i made a little script, when player is training his "logic" and everything works, even the training but after i write the command, to start the training, the animation is not showing up. Animation is showing just after i write the command second time, which is not, what i want.
The code:
Код:
CMD:logic(playerid, params[]) { #pragma unused params if(Training[playerid] == 1) return SendClientMessage(playerid, color, "You are already training."); Training1[playerid] = SetTimerEx("Logic", 60000, false, "i", playerid); Training[playerid] = 1; ApplyAnimation(playerid, "PARK", "Tai_Chi_Loop", 4.1, 1, 0, 0, 0, 60000, 1); SendClientMessage(playerid, colore, "You started the training, you will end at the minute."); return 1; }