is preloading animations bad - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: is preloading animations bad (
/showthread.php?tid=394815)
is preloading animations bad -
cosbraa - 24.11.2012
So in my script i Preload Animation Libraries, like "PED", "GANGS", etc..
I'm just wonder if preloading all the animation libraries when the player spawns, is bad?
It only spawns if they haven't preloaded them already. Once they do, it won' do it again.
I have a loop to preload them;
pawn Код:
for(new i; i < sizeof(animation_library); i++)
{
PreloadAnimLib(playerid, animation_library[i]);
}
i threw all animation libraries into an array - animation_library.
So yea, is it bad to do this?
E: all animation libraries i have are from wiki.sa-mp.com/wiki/Animations