12.03.2012, 12:32
Okay i want to like edit igonites streamer so in stead of using createdynamicobject i can change the code to Jueix then what i wan't. I want to be able to do this because with changing the objects virtual world with in the streamer i can make the createdynamicobjet virtual world to 0 so i can have like roleplay objects in that virtual world then use the Jueix object creating way to make stunt objects in virtual world 2. I tryed changing
to
in the streamer.
It compiles the script but when i run it it basicly goes from 111 vehicle models loaded to 0 vehicle models when i change it from Createdynamicobject to Jueix.
Quote:
// Natives (Objects) native CreateDynamicObject(modelid, Float, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = 0, interiorid = -1, playerid = -1, Float:distance = 200.0); native DestroyDynamicObject(objectid); native IsValidDynamicObject(objectid); native SetDynamicObjectPos(objectid, Float, Float:y, Float:z); native GetDynamicObjectPos(objectid, &Float, &Float:y, &Float:z); native SetDynamicObjectRot(objectid, Float:rx, Float:ry, Float:rz); native GetDynamicObjectRot(objectid, &Float:rx, &Float:ry, &Float:rz); native MoveDynamicObject(objectid, Float, Float:y, Float:z, Floatpeed); native StopDynamicObject(objectid); native DestroyAllDynamicObjects(); native CountDynamicObjects(); |
Quote:
// Natives (Objects) native Jueix(modelid, Float, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = 1, interiorid = -1, playerid = -1, Float:distance = 200.0); native DestroyDynamicObject(objectid); native IsValidDynamicObject(objectid); native SetDynamicObjectPos(objectid, Float, Float:y, Float:z); native GetDynamicObjectPos(objectid, &Float, &Float:y, &Float:z); native SetDynamicObjectRot(objectid, Float:rx, Float:ry, Float:rz); native GetDynamicObjectRot(objectid, &Float:rx, &Float:ry, &Float:rz); native MoveDynamicObject(objectid, Float, Float:y, Float:z, Floatpeed); native StopDynamicObject(objectid); native DestroyAllDynamicObjects(); native CountDynamicObjects(); |
It compiles the script but when i run it it basicly goes from 111 vehicle models loaded to 0 vehicle models when i change it from Createdynamicobject to Jueix.