14.03.2019, 08:19
No, the error is, that you have to use const in the function header:
That would fix the issue.
But i recommend you to use a macro:
PHP код:
stock PreloadAnimLib(playerid, const animlib[]) ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0);
But i recommend you to use a macro:
PHP код:
#define PreloadAnimLib(%0,%1) ApplyAnimation(%0,%1,"null",0.0,0,0,0,0,0)