04.03.2014, 16:41
Hi,
When i createdynamicobject for playerid, can i destroy that object when player disconnect? i write it to variable
OnPlayerDisconnect
When i createdynamicobject for playerid, can i destroy that object when player disconnect? i write it to variable
Код:
PlayerObjectD[ playerid ] = CreateDynamicObject( x,y ......, playerid );
Код:
DestroyDynamicObject( PlayerObjectD[ playerid ] );