createdynamicobject :|
#1

hey
i decided to script a rocket thing . i used createdynamicobject . it compiles but when i join the server , i see some road objects created with the rocket :/
any idea about how to fix that?

pawn Код:
CreateDynamicObject(3673,230.8999939,1990.4000244,39.7999992,0.0000000,0.0000000,179.9945068, -1, -1, -1, 300); //object(laxrf_refinerybase) (1)
    rlaunch1 = CreateDynamicObject(3585,231.8000031,2000.0999756,31.1000004,0.0000000,90.0000000,0.0000000, -1, -1, -1, 300); //object(lastran1_la02) (2)
    rlaunch2 = CreateDynamicObject(3585,231.8999939,2000.0999756,39.2000008,0.0000000,90.0000000,0.0000000, -1, -1, -1, 300); //object(lastran1_la02) (3)
    rlaunch3 = CreateDynamicObject(3258,229.1999969,1999.3000488,54.9000015,359.2500000,180.0000000,180.0000000, -1, -1, -1, 300); //object(refthinchim1) (2)
    rlaunch4 = CreateDynamicObject(3258,235.3000031,1999.3000488,54.9000015,359.2474365,179.9945068,179.9945068, -1, -1, -1, 300); //object(refthinchim1) (3)
Reply
#2

The road objects are probably attached to the object your trying to use choose different objects or if you don't care about collision you can make them invisible using SetDynamicObjectMaterial() there is a parameter for setting color.
Reply
#3

well actually i care . if they still be attached , player cant go in the shuttle :/ i dont know really what to do please someone help
Reply
#4

use this SetDynamicObjectMaterial()
Reply
#5

this doesn't destroy those objects... i wanna destroy them
Reply
#6

any other ideas? :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)