24.09.2013, 10:31
Hardcoding object ID isn't a good idea. Do something like
Also, search on this forum for streamer. It'll save you some problems in future
pawn Код:
static
LootObjects[MAX_LOOTS] = { INVALID_OBJECT_ID, ... };
//when creating
LootObjects[0] = CreateObject(...);
//Then deleting
DestroyObject(LootObjects[0]);