Thread: [FilterScript] Yet Another Business System
View Single Post
Old 21/12/2015, 11:33 PM   #10
rootcause
Big Clucker
 
rootcause's Avatar
 
Join Date: Feb 2015
Location: /
Posts: 114
Reputation: 197
Default Re: Yet Another Business System

Quote:
Originally Posted by SecretBoss View Post
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

Code:
-snip-
Whenever this command is called businesses are saving but when

Code:
-snip-
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
How do you close the server? I always write exit to the console and everything gets saved.

If you don't use exit command, OnGameModeExit and OnFilterScriptExit for loaded filterscripts won't get called if I remember correctly.
__________________
All Releases | YouTube
rootcause is offline   Reply With Quote