Dynamic Object Creating
#3

Quote:
Originally Posted by SkittlesAreFalling
Посмотреть сообщение
Try:
if(HouseInfo[id][hSafe] != INVALID_OBJECT_ID)

Instead of:
if(HouseInfo[id][hSafe] != -1)

Also show the SaveHouse code, if you're saving GameObjectID, I suggest not doing so because it won't always be the same.
Almost had it working but realised it then recreates the safe when I restart the game mode.
Seems like -1 is not an invalid object id..
Reply


Messages In This Thread
Dynamic Object Creating - by AphexCCFC - 29.04.2014, 00:20
Re: Dynamic Object Creating - by SkittlesAreFalling - 29.04.2014, 00:26
Re: Dynamic Object Creating - by AphexCCFC - 29.04.2014, 00:39
Re: Dynamic Object Creating - by AphexCCFC - 29.04.2014, 00:42
Re: Dynamic Object Creating - by SkittlesAreFalling - 29.04.2014, 00:45
Re: Dynamic Object Creating - by AphexCCFC - 29.04.2014, 00:51
Re: Dynamic Object Creating - by SkittlesAreFalling - 29.04.2014, 00:52

Forum Jump:


Users browsing this thread: 3 Guest(s)