How to use 2 same interiors? - 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: How to use 2 same interiors? (
/showthread.php?tid=163147)
How to use 2 same interiors? -
Cypress - 26.07.2010
Hello all
I want to use the same ammunation interiors. So i i will make 2 ammunation i exit in the wrong position.
So i want to make that i can use 2 same interiors and exit right.
Thanks for reading. BTW i used the setplayervirtualworld, its not working.
Re: How to use 2 same interiors? -
Lorenc_ - 28.07.2010
May i bump for you? I'm willing to find out too :/
Re: How to use 2 same interiors? -
Steven82 - 28.07.2010
Hm.......i am wondering, but i am honsetly stumped :/
Re: How to use 2 same interiors? -
Mike Garber - 28.07.2010
Use virtual worlds.
https://sampwiki.blast.hk/wiki/SetPlayerVirtualWorld
On the pickup/checkpoint/command
pawn Код:
// EXAMPLE
if(GetPlayerVirtualWorld(playerid) == 1) { // PLACE 1
// CODE
}else if(GetPlayerVirtualWorld(playerid) == 2) { // PLACE 2
// CODE
}
And don't bother about how many worlds there is, theres like unlimited.
Re: How to use 2 same interiors? -
Hiddos - 28.07.2010
He just said that virtual worlds failed.
Mis-placed some variables?
Re: How to use 2 same interiors? -
Cypress - 29.07.2010
Okay i fixed the problem. If someone need help with this, feel free to pm me.