03.09.2013, 17:01
I have question about DestroyObject, I have many objects, but I want to destroy them all is this possible with single function or I need to define every object ? OBJ1 = CreateObject(...) ... OBJ2 ... and than DestroyObject(OBJ1) .. ?
Is there something to destroy multiply objects ? cut here are my current objects (I'm not making server, just learning to script.. )
Is there something to destroy multiply objects ? cut here are my current objects (I'm not making server, just learning to script.. )
pawn Код:
CreateObject(1271,1473.3000488,-1803.1999512,4084.8999023,0.0000000,0.0000000,0.0000000); //object(gunbox) (1)
CreateObject(1271,1474.3000488,-1804.2993164,4084.9628906,0.0000000,0.0000000,0.0000000); //object(gunbox) (2)
CreateObject(1271,1475.5000000,-1808.0999756,4085.0000000,0.0000000,0.0000000,333.7500000); //object(gunbox) (3)
CreateObject(1271,1474.3000488,-1804.9000244,4085.6000977,5.7499390,359.7487183,1.0251770); //object(gunbox) (4)
CreateObject(1271,1474.5000000,-1805.3000488,4084.8999023,0.0000000,0.0000000,306.0000000); //object(gunbox) (5)
CreateObject(1271,1474.5999756,-1807.1999512,4085.0000000,0.0000000,0.0000000,333.7481689); //object(gunbox) (6)
CreateObject(1271,1475.1015625,-1806.2094727,4084.9726562,0.0000000,0.0000000,333.7481689); //object(gunbox) (7)
CreateObject(1271,1474.8000488,-1806.6999512,4085.6000977,0.0000000,0.0000000,333.7481689); //object(gunbox) (8)
CreateObject(1517,1475.5999756,-1808.3000488,4085.5000000,0.0000000,0.0000000,0.0000000); //object(dyn_wine_break) (1)
CreateObject(1517,1475.1999512,-1808.1999512,4085.5000000,0.0000000,0.0000000,0.0000000); //object(dyn_wine_break) (2)
CreateObject(1517,1474.6999512,-1807.5999756,4085.5000000,0.0000000,0.0000000,0.0000000); //object(dyn_wine_break) (3)
CreateObject(1517,1474.8000488,-1806.6999512,4086.1000977,0.0000000,0.0000000,0.0000000); //object(dyn_wine_break) (4)
CreateObject(1517,1475.1999512,-1806.0999756,4085.5000000,0.0000000,0.0000000,0.0000000); //object(dyn_wine_break) (5)
CreateObject(1517,1474.5999756,-1805.4000244,4085.3999023,0.0000000,0.0000000,0.0000000); //object(dyn_wine_break) (6)
CreateObject(1517,1474.1999512,-1805.0999756,4086.1000977,0.0000000,0.0000000,0.0000000); //object(dyn_wine_break) (8)
CreateObject(1517,1474.1999512,-1804.3000488,4085.5000000,0.0000000,0.0000000,0.0000000); //object(dyn_wine_break) (9)
CreateObject(1517,1473.1999512,-1803.4000244,4085.3999023,0.0000000,0.0000000,0.0000000); //object(dyn_wine_break) (10)
CreateObject(1517,1473.5000000,-1802.9000244,4085.3999023,0.0000000,0.0000000,0.0000000); //object(dyn_wine_break) (11)
CreateObject(1517,1473.6999512,-1803.5000000,4084.8000488,0.0000000,0.0000000,0.0000000); //object(dyn_wine_break) (12)