Preloading animation libs only for ID 0
#9

Are you resetting the variable?

Maybe this would help (Not sure), remove the if(!gPlayerLoadedAnimLibs[playerid]) and then just add this instead:
pawn Код:
for(new i = 0; i < 129; i++)
{
    ApplyAnimation(playerid, AnimLibraies[i], "null", 0.0, 0, 0, 0, 0, 0);
}
gPlayerLoadedAnimLibs[playerid] = true;
(Yes it is your code)

Players will never have them loaded when they connected, so no need to check, it might be bugging it.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)