20.12.2015, 10:48
(
Последний раз редактировалось SecretBoss; 20.12.2015 в 11:53.
)
Why it doesn't update the owner? Whenever I buy a business and close the server business, doesn't seem to get updated
I made a command to test if the function is loading command is the following
Whenever this command is called businesses are saving but when
is called on "OnFilterScriptExit" callback it doesn't work, I can't really understand what's the problem, logs printing nothing I also tried CallLocalFunction but it didn't work
I made a command to test if the function is loading command is the following
Код:
CMD:savebusiness(playerid, params[]) { LevelCheck(playerid, 5); foreach(new i : Business) Business_Save(i); Server(playerid, "Businesses saved."); return 1; }
Код:
foreach(new i : Business) Business_Save(i);