18.06.2014, 17:44
Quote:
Thank you. But now when I destroy the object I storage the ID in a variable but how i build again?
|
PS: When you destroy an object, it's good to set the variable (for that object) to INVALID_OBJECT_ID.
pawn Код:
DestroyObject(Tree[object_id]);
Tree[object_id] = INVALID_OBJECT_ID;