Quote:
Originally Posted by DavidZvla
Do you recommend that i can use IsValidDynamicObject(objectid) before Destroy any dynamic object in my script?
Like..
Код:
if(IsValidDynamicObject(Object[playerid])) { DestroyDynamicObject(Object[playerid]); }
|
Just do as he told: "Check for DestroyDynamicObject function (if you are trying to destroy any dynamic object, that isn't valid it maybe destroys all of your dynamic object)"