20.03.2015, 13:47
AnimsFix
Fix to load animations and crashes ..
INTRODUCTION.
Is an include to destroy the odds to making crash to players in the radius from crasher when this execute an library of animations non-existent, further, load all animations without need of adding the preload or executing the function of animation two times.
FUNCTIONS.
CODE.
Pastebin: Download
Fix to load animations and crashes ..
INTRODUCTION.
Is an include to destroy the odds to making crash to players in the radius from crasher when this execute an library of animations non-existent, further, load all animations without need of adding the preload or executing the function of animation two times.
FUNCTIONS.
PHP Code:
LastAnimExecuted(playerid) // Return the name of the last animation executed from a player.
LastAnimLibExecuted(playerid) // Return the last anim lib executed from a player
AnimLibExists(str[]) // Return true or false if a library exists or not.
Pastebin: Download