03.08.2018, 14:55
Store ID in an (global) variable..
When create object:
And then when you want to delete it:
Код:
new pobject[MAX_PLAYERS];
Код:
pobject[playerid] = CreateDynamicObject(...
Код:
DestroyDynamicObject(pobject[playerid]);