Need help how to save my biz - 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: Need help how to save my biz (
/showthread.php?tid=478758)
Need help how to save my biz -
Lloyde - 01.12.2013
How to save my biz because if i buy business if i /q and i will back again in the game i use /mybiz and he said that
YOU DONT HAVE ANY BUSINESS
Re: Need help how to save my biz -
Voxel - 01.12.2013
At the second screenshot at line 42038 you forgot a "," at
pawn Код:
SaveBiz=%s\n PlayerInfo
//Over here ^ between \n and PlayerInfo you need a ","
So it becomes
Also i think you ended the code line at [pBusiness]); using the ";", I dont think that should be there so try making it
pawn Код:
.... .... [pBusiness]); //<--- Code line ended
fWrite(hFile, var); //The next line
Re: Need help how to save my biz -
Lloyde - 01.12.2013
what should i insert in this
PHP код:
format(var,... HERE...... , "SaveBiz=%s\n" PlayerInfo[playerid][pBusiness]);fWrite(hFile, var);
is that right 256 or 32
Re: Need help how to save my biz -
Voxel - 01.12.2013
I'm not sure what that is suposed to be, what does that value do?