SA-MP Forums Archive
Streamer help? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Streamer help? (/showthread.php?tid=325201)



Streamer help? - jueix - 12.03.2012

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

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

to

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

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.