Business bug
#1

When i successfully ( /buybiz ) the business and when i relog i lost it seems like deleted/removed but the name is still mine.
Reply
#2

Codes. Perhaps the /createbiz and /buybiz and did u save it onplayerdisconnect?
Reply
#3

Well i am new to this so can you show me some example so i can find it?
Reply
#4

Show your code first. Then it is possible for us to help you.
Reply
#5

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.
Reply
#6

Show your commands and your saving system. Use [*php] [/php*] (without *) to put your code.
Reply
#7

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)
Reply
#8

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)