12.08.2016, 13:26
You should escape the player names (%q), or else an SQL Injection might occur.
Also, read this: https://sampforum.blast.hk/showthread.php?tid=570910
If you convert to that (Which would eliminate the need to add stuff to the script like InitAKA and LoadAKA),
make sure to check if FILTERSCRIPT is defined, so you'd do it under OnFilterScriptInit, if not, under OnGameModeInit
Also, read this: https://sampforum.blast.hk/showthread.php?tid=570910
If you convert to that (Which would eliminate the need to add stuff to the script like InitAKA and LoadAKA),
make sure to check if FILTERSCRIPT is defined, so you'd do it under OnFilterScriptInit, if not, under OnGameModeInit