03.08.2018, 12:38
Hi, i have a script and it almost works... the object is created in game but when i call it with cmd its not destroying..
i read about add DestroyPlayerObject(playerid, objectid); but i dont want to use playerid id becouse i want to remove object for all players? what its the problem guys? :S
i read about add DestroyPlayerObject(playerid, objectid); but i dont want to use playerid id becouse i want to remove object for all players? what its the problem guys? :S
PHP Code:
//The Object Create is working
GetPlayerPos(playerid,x,y,z);
CreateDynamicObject(Object2,x,y,z,0,0,0);
PHP Code:
When i call it from CMD no..
Delete3DTextLabel(Text2);
DestroyDynamicObject(Object2);