SA-MP Forums Archive
3Dtextlabel problem - 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: 3Dtextlabel problem (/showthread.php?tid=490938)



3Dtextlabel problem - ZBits - 28.01.2014

Fixed


Re: 3Dtextlabel problem - ZBits - 28.01.2014

Still need help..


Re: 3Dtextlabel problem - rappy93 - 28.01.2014

The command itself seems to be okay . Check your sql table for any mistakes like setting a field to "int" when it needs to be "varchar" etc. If not then tell me this :

pawn Код:
new fee, query[500],bname,owner,price,id;
format(feemsg,sizeof(feemsg),"Business Fee Set to %i Owner: %s, Price: %d,Id: %d",fee,owner,price,id);
You've created the variable but where do they get their values ? There should be something like

pawn Код:
new owner = pInfo[playerid][pName];



Re: 3Dtextlabel problem - ZBits - 28.01.2014

That message was there for a test I had that variables before but it always returned as a blank space where it should display my name and the bizz name with fee with the correct
number and and price and Id 0 which is certainly wrong. Checked my mysql table there is nothing wrong with it since before doing /bizzfee the 3dtext displays everthing correctly. After I restart the server it gets fixed.


Re: 3Dtextlabel problem - ZBits - 29.01.2014

Bum please help


Re: 3Dtextlabel problem - ZBits - 30.01.2014

Anyone?


Re: 3Dtextlabel problem - ZBits - 30.01.2014

Fixed, it was a mysql Bug, i always set the business ID to a random number between 1-500... forgot that it should start at 1 and not some random number :P