Same Interior/2 Different Stores/2 Different Exits Using IsPlayerInRangeOfPoint..Possible?
#1

So i want to use the same cluckn bell interior for 3 different cluckn bell locations but use the same coords for the exits but SetPlayerPos in 3 different locations
(The right places)

How can i do this like?

pawn Код:
if(GetPlayerVirtualWorld(playerid) == 1)
{
SetPlayerPos(playerid, X,Y,Z);
}
else if(GetPlayerVirtualWorld(playerid) == 2)
{
SetPlayerPos(playerid, X,Y,Z);
}
else if(GetPlayerVirtualWorld(playerid) == 3)
{
SetPlayerPos(playerid, X,Y,Z);
}
Just do this under IsPlayerInRangeOnPoint? Or is there more to it?

And how do i set a Virtual World? SetPlayerVirtualWorld?

Also will using Virtual Worlds disable any checkpoints in the interior or would i have to use the code with the checkpoint code?

Thanks In Advanced!
Reply
#2

Just use world to control all that.

SetPlayerVirtualWorld && GetPlayerVirtualWorld.
Reply
#3

pawn Код:
new CluckingBell[MAX_PLAYERS];

if(CluckingBell[playerid] == 1) {
SetPlayerPos(//...
} else if(CluckingBell[playerid] == 2) {
SetPlayerPos(//...
} else if(CluckingBell[playerid] == 3) {
SetPlayerPos(//...
}
Reply
#4

ok sweet thanks
Reply
#5

--Sorry.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)