SA-MP Forums Archive
question with Incognito Obj Streamer. - 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: question with Incognito Obj Streamer. (/showthread.php?tid=400764)



question with Incognito Obj Streamer. - karolis1478 - 20.12.2012

Hi, i have same question about incognito object streamer.

I wanna know how to change object wirtualworld faster.

Код:
CreateDynamicObject(8558,763.59997559,-2281.00000000,26.50000000,90.00000000,180.00000000,270.00000000, WIRTUALWORLD, 0, -1, 500.0);
but writing to each line takes a lot of time. as soon as possible to save other vw? or am I wrong here I put the code?


Re: question with Incognito Obj Streamer. - eesh - 20.12.2012

Of everyObject?

Код:
stock SetObjVirtualWorld(objectid, VW)
{
	Streamer_SetIntData(0,objectid,E_STREAMER_WORLD_ID, VW);
	return id;
}
Use it in a loop


Re: question with Incognito Obj Streamer. - ikey07 - 20.12.2012

If you need VWs like 1,2,3... you can use MS excel, sometimes its useful, as you can drag cursor and it will auto add 1,2,3..


Re: question with Incognito Obj Streamer. - karolis1478 - 20.12.2012

not for all. when i used YSI Streamer, I made a simple thing I:

Код:
CreateDynamicObject2(model, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)
{
	CreateVWDynamicObject(25, model, x, y, z, rx, ry, rz);
}
it's possible in this incognito streamer like example?


Re: question with Incognito Obj Streamer. - Roel - 20.12.2012

Well it's very easy to do this.
You can just go to converffs.com and create your own format, at this format you put the virtualworld that you want in it, and you convert your objects and you are done.

You can use this format:
CreateDynamicObject({model},{x},{y},{z},{rx},{ry}, {rz},{vw},{int},{pid},{dd});

And you simple remove the {vw} with a number or variable name that you like.


Re: question with Incognito Obj Streamer. - eesh - 20.12.2012

Quote:
Originally Posted by karolis1478
Посмотреть сообщение
not for all. when i used YSI Streamer, I made a simple thing I:

Код:
CreateDynamicObject2(model, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)
{
	CreateVWDynamicObject(25, model, x, y, z, rx, ry, rz);
}
it's possible in this incognito streamer like example?
like this?

Код:
stock CreateDObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid, interiorid, playerid, Float:streamdistance)
{
	new id = CreateDynamicObject(25, x, y, z, rx, ry, rz, worldid, interiorid, playerid,streamdistance);//change world id
	return id;
}



Re: question with Incognito Obj Streamer. - karolis1478 - 20.12.2012

Quote:
Originally Posted by eesh
Посмотреть сообщение
like this?

Код:
stock CreateDObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid, interiorid, playerid, Float:streamdistance)
{
	new id = CreateDynamicObject(25, x, y, z, rx, ry, rz, worldid, interiorid, playerid,streamdistance);//change world id
	return id;
}
when you wrote 25 that means 25 is virtualworld


Re: question with Incognito Obj Streamer. - karolis1478 - 20.12.2012

Код:
stock CreateDObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid, interiorid, playerid, Float:streamdistance)
{
	CreateDynamicObject(modelid, x, y, z, rx, ry, rz, 1, interiorid, playerid,streamdistance);
}
I created this. no errors. this is works for me?


Re: question with Incognito Obj Streamer. - eesh - 20.12.2012

yeah


Re: question with Incognito Obj Streamer. - karolis1478 - 20.12.2012

doesnt working..

Код:
CreateDObject(3049,1978.66760254,1916.00366211,132.17665100,0.00000000,0.00000000,87.33950806); //object(des_quarrygate) (17)
errors:

Код:
C:\Users\Karolis\Desktop\GTA-MP.LT Free-Roam\gamemodes\gm.pwn(2955) : warning 202: number of arguments does not match definition
C:\Users\Karolis\Desktop\GTA-MP.LT Free-Roam\gamemodes\gm.pwn(2955) : warning 202: number of arguments does not match definition
C:\Users\Karolis\Desktop\GTA-MP.LT Free-Roam\gamemodes\gm.pwn(2955) : warning 202: number of arguments does not match definition
C:\Users\Karolis\Desktop\GTA-MP.LT Free-Roam\gamemodes\gm.pwn(2955) : warning 202: number of arguments does not match definition
C:\Users\Karolis\Desktop\GTA-MP.LT Free-Roam\gamemodes\gm.pwn(3906) : warning 203: symbol is never used: "worldid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Warnings.