Businesses
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
- Pozicija and Interijer arrays are floats, not integers (INI_WriteFloat).
- They're also arrays so you have to save each index separate (for example):
pawn Код:
INI_WriteFloat(bFile, "Pozicija_X", BiznisInfo[i][Pozicija][0]);
INI_WriteFloat(bFile, "Pozicija_Y", BiznisInfo[i][Pozicija][1]);
INI_WriteFloat(bFile, "Pozicija_Z", BiznisInfo[i][Pozicija][2]);
- There is absolutely no reason to save label IDs.
- Why do you save them under OnPlayerDisconnect instead of OnGameModeExit (as it should be)?
Ok. IDK why am I saving it under OnPlayerDisconnect. I mean every other system like: Job system,register system in my script have been saved under onplayerdisconnect.
Reply


Messages In This Thread
Businesses - by NoDi522 - 07.05.2015, 17:36
Re: Businesses - by ]Rafaellos[ - 07.05.2015, 17:43
Re: Businesses - by NoDi522 - 07.05.2015, 17:49
Re: Businesses - by ]Rafaellos[ - 07.05.2015, 17:52
Re: Businesses - by Konstantinos - 07.05.2015, 17:55
Re: Businesses - by NoDi522 - 07.05.2015, 18:01
Re: Businesses - by rappy93 - 07.05.2015, 18:23
Re: Businesses - by NoDi522 - 07.05.2015, 18:36

Forum Jump:


Users browsing this thread: 1 Guest(s)