Business bug - 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: Business bug (
/showthread.php?tid=611831)
Business bug -
Thanush - 11.07.2016
When i successfully ( /buybiz ) the business and when i relog i lost it seems like deleted/removed but the name is still mine.
Re: Business bug - WhiteGhost - 11.07.2016
Codes. Perhaps the /createbiz and /buybiz and did u save it onplayerdisconnect?
Re: Business bug -
Thanush - 11.07.2016
Well i am new to this so can you show me some example so i can find it?
Re: Business bug -
DarkSkull - 11.07.2016
Show your code first. Then it is possible for us to help you.
Re: Business bug - WhiteGhost - 11.07.2016
Quote:
Originally Posted by DarkSkull
Show your code first. Then it is possible for us to help you.
|
Didnt you just read what he said? He dont know what code to Show.
Anyways the command to create the business and the callback Onplayerdisconnect.
Re: Business bug -
Dayrion - 11.07.2016
Show your commands and your saving system. Use [*php] [/php*] (without *) to put your code.
Re: Business bug -
Thanush - 12.07.2016
This is from the log
[00:30:42] [zcmd] [John Janta]: /buybiz
[00:30:42] [business] saved 0
[00:30:42] [MySQL] Query Error - (ErrorID: 1054) (Handle: 1)
[00:30:42] [MySQL] Check mysql_log.txt to review the query that threw the error.
[00:30:42] Dumping query from 2016/7/12 (0:30:42)
Re: Business bug -
Flake. - 12.07.2016
There's an issue with the mysql query you're sending to save the business.
Show your mysql syntax that's called when you buy/save the business.