Createdynamicobject change virtual world - 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: Createdynamicobject change virtual world (
/showthread.php?tid=619121)
Createdynamicobject change virtual world -
parames3010 - 14.10.2016
i read streamer topic about virtual world object
CreateDynamicObject(modelid, Float

, Float:y, Float:z, Float:rx, Float:ry, Float:rz,
worldid = -1, interiorid = -1, playerid = -1, Float

treamdistance = 300.0);
if i have one object i can change like this
CreateDynamicObject(1537, 682.31946, -450.32990, -26.61913, 0.00000, 0.00000, 0.00000,
2);
Question
but if i have
a lot object (50-1000+ object) who have idea, a quick way to change the many object virtual world?
please help, thank you
Re: Createdynamicobject change virtual world -
Vaishnav - 14.10.2016
well there's an easy way.
if your code is
PHP код:
CreateDynamicObject(1537, 682.31946, -450.32990, -26.61913, 0.00000, 0.00000, 0.00000, 0);
and you want to change the virtual world of objects like 50-1000 then click on replace button in pawno
and put "0);"
and replace it to
"2);" or anything you want.