SA-MP Forums Archive
Putting Players in a separate 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: Putting Players in a separate world (/showthread.php?tid=652470)



Putting Players in a separate world - oOChazyBoyOo - 12.04.2018

Hi,

Putting Players in a separate world
I have made a vehicle garage so when you enter it your vehicle a menu shows up. i am trying to make so when a player enters it will put them in a different world where theres no other players that would enter the garage and pile up, i want to make it just like the tuning garages like transfender, so when a player enter it puts them in a new world so players dont pile up in the garage.

So when someone is in the garage, and another player drives in it will check to see if a player is there , if so it would put them in their own virtual world

If anyone can help direct me in the right way it would be much appreciated c:

Thanks


Re: Putting Players in a separate world - kovac - 12.04.2018

https://sampwiki.blast.hk/wiki/SetPlayerVirtualWorld


Re: Putting Players in a separate world - oOChazyBoyOo - 13.04.2018

Yeah, looking to make it check to see if a player is in the area of the garage , if so put them in a different virtual world


Re: Putting Players in a separate world - kovac - 13.04.2018

Use this
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint