Help! How to change a maps 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help! How to change a maps virtual world? (
/showthread.php?tid=163010)
Help! How to change a maps virtual world? -
[MNC]Azz - 25.07.2010
I have searched for this question everywhere!
I want to change my DM maps virtual world because different world allows weapons and doesn't make anti-cheat system ban the user...
(and BTW you don't have to tell me how to change players virtual world because I know that...)
Thank You!
Please Reply!
Re: Help! How to change a maps virtual world? -
Fj0rtizFredde - 25.07.2010
There should be an option at the end of your CreateObject function for the world id
Like:
Createsomething(id,x,y,z,same,same,same,worldid);
Re: Help! How to change a maps virtual world? -
[MNC]Azz - 25.07.2010
Quote:
Originally Posted by Fj0rtizFredde
There should be an option at the end of your CreateObject function for the world id Like:
Createsomething(id,x,y,z,same,same,same,worldid);
|
will it work for CreateStreamedObject?
thx for quick answer
Re: Help! How to change a maps virtual world? -
Vince - 25.07.2010
Objects are created in all worlds and interiors. There is no virtualworld parameter for that (only for pickups, afaik).
You can try to using CreatePlayerObject to create the map when the player is in a certain virtual world and destroy them again once he leaves that specific virtual world.
Re: Help! How to change a maps virtual world? -
[MNC]Azz - 25.07.2010
Quote:
Originally Posted by Vince
Objects are created in all worlds and interiors. There is no virtualworld parameter for that (only for pickups, afaik).
You can try to using CreatePlayerObject to create the map when the player is in a certain virtual world and destroy them again once he leaves that specific virtual world.
|
im kind of a beginner scripter...so could you show me how to do that?
Re: Help! How to change a maps virtual world? -
straco - 25.07.2010
what streamer you using ?
Re: Help! How to change a maps virtual world? -
[MNC]Azz - 25.07.2010
Quote:
Originally Posted by straco
what streamer you using ?
|
i use xStreamer
Re: Help! How to change a maps virtual world? -
Shadow™ - 25.07.2010
Or, you could simply use World 2 as the main world, and World 1 for the objects.
Re: Help! How to change a maps virtual world? -
iggy1 - 25.07.2010
This is a good streamer with virtual world parameter, incognitos streamer.