SA-MP Forums Archive
MySql saving problems (sorry for posting again) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MySql saving problems (sorry for posting again) (/showthread.php?tid=623227)



MySql saving problems (sorry for posting again) - SwankyPants - 29.11.2016

First of all, I'm retarded, and don't know how to remove threads. Sorry for multipost this topic...


I'm trying to use this awsome script link, but I'm at a problem here.

The script r40 is loading fine, and its all comming though into the mysql (loading up fine).

You go over, buy a house. Fine nothing there, works.

After i restart the server. It forgets about the who owns it, and all the infomations about it.

I tried open the sql while buying. But it won't update the infomations.


Really need your help here!

Thanks.


Re: MySql saving problems (sorry for posting again) - iLearner - 29.11.2016

Go into mysql logs & see the problem, we cant say anything.


Re: MySql saving problems (sorry for posting again) - SwankyPants - 29.11.2016

It gives me 0 kind of any errors...


Re: MySql saving problems (sorry for posting again) - Jelly23 - 29.11.2016

Quote:
Originally Posted by SwankyPants
Посмотреть сообщение
It gives me 0 kind of any errors...
OnFilterScriptExit is only called if you unload it, not even if you shut down the server. Checked it by myself.


Re: MySql saving problems (sorry for posting again) - SwankyPants - 30.11.2016

Quote:
Originally Posted by Jelly23
Посмотреть сообщение
OnFilterScriptExit is only called if you unload it, not even if you shut down the server. Checked it by myself.
What will you suggest me to do?

Thanks for your reply.


Re: MySql saving problems (sorry for posting again) - Jelly23 - 30.11.2016

Quote:
Originally Posted by SwankyPants
Посмотреть сообщение
What will you suggest me to do?

Thanks for your reply.
Use CallRemoteFunction on OnGameModeExit to call the function to save houses (or either OnFilterScriptExit) in the filterscript, that's all i can think of right now.


Re: MySql saving problems (sorry for posting again) - SwankyPants - 30.11.2016

Quote:
Originally Posted by Jelly23
Посмотреть сообщение
Use CallRemoteFunction on OnGameModeExit to call the function to save houses (or either OnFilterScriptExit) in the filterscript, that's all i can think of right now.
Sorry, either it's me who can't place it right. Or the functions dosen't work