Loot and object destroying problem
#2

Hardcoding object ID isn't a good idea. Do something like
pawn Код:
static
    LootObjects[MAX_LOOTS] = { INVALID_OBJECT_ID, ... };

//when creating
LootObjects[0] = CreateObject(...);

//Then deleting
DestroyObject(LootObjects[0]);
Also, search on this forum for streamer. It'll save you some problems in future
Reply


Messages In This Thread
Loot and object destroying problem - by Voxel - 24.09.2013, 09:36
Re: Loot and object destroying problem - by Misiur - 24.09.2013, 10:31
Re: Loot and object destroying problem - by Voxel - 24.09.2013, 10:38
Re: Loot and object destroying problem - by Misiur - 24.09.2013, 11:09
Re: Loot and object destroying problem - by Voxel - 24.09.2013, 14:37
Re: Loot and object destroying problem - by Voxel - 24.09.2013, 15:03
Re: Loot and object destroying problem - by Pottus - 24.09.2013, 15:05
Re: Loot and object destroying problem - by Voxel - 24.09.2013, 15:14
Re: Loot and object destroying problem - by Voxel - 24.09.2013, 16:23
Re: Loot and object destroying problem - by Pottus - 24.09.2013, 16:45

Forum Jump:


Users browsing this thread: 1 Guest(s)