Why object don't destroy? DestroyDynamicObject
#1

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


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); 
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)