17.01.2017, 21:36
I am trying to play an anim if you get hit in the leg but the anim is not working, why?
You only get the message and get stuck for like a second but the anim is not playing..
Код:
if(issuerid != INVALID_PLAYER_ID && weaponid >= 22 && weaponid <= 38 && (bodypart == 7 || bodypart == 8)) { if(pLegBroken[playerid] == false) { pLegBroken[playerid] = true; ApplyAnimation(playerid, "PED", "CLIMB_jump2fall", 4.1, 0, 1, 1, 0, 1000, 1); SetTimerEx("LegShot", 12000, true, "i", playerid); SCM(playerid, COLOR_LIGHTRED, "-> Ai fost impuscat in picior, nu vei mai putea alerga sau sari."); } }