/exit problem
#1

ok so i have 3cluckin bells all in dif virtual worlds

1st is in 8
2nd is in 23
3rd is in 9

and when i type /exit in the first cluckin bell works fine


and then when i type /exit in the 2nd or the 3rd cluckin bell nothing happens?

the code is all the same ive checked it 1000times plz help

heres the exit code

Код:
else if(IsPlayerInRangeOfPoint(playerid,3.0,364.9961,-11.8380,1001.8516)) //cluckin bell @ ls
			{
			    if(GetPlayerVirtualWorld(playerid) == 8)
				{
				    SetPlayerInterior(playerid,0);
				    SetPlayerVirtualWorld(playerid,0);
				    SetPlayerPos(playerid,926.7941,-1352.8116,13.3766);
				}
			}
			else if(IsPlayerInRangeOfPoint(playerid,3.0,364.9819,-11.8408,1001.8516)) //cluckin bell @ ls
			{
			    if(GetPlayerVirtualWorld(playerid) == 23)
				{
				    SetPlayerInterior(playerid,0);
				    SetPlayerVirtualWorld(playerid,0);
				    SetPlayerPos(playerid,2397.7021,-1896.9214,13.3828);
				}
			}
			else if(IsPlayerInRangeOfPoint(playerid,3.0,364.9961,-11.8380,1001.8516)) //cluckin bell @ ls
			{
			    if(GetPlayerVirtualWorld(playerid) == 10)
				{
				    SetPlayerInterior(playerid,0);
				    SetPlayerVirtualWorld(playerid,0);
				    SetPlayerPos(playerid,2421.9631,-1508.9528,23.9922);
				}
			}
if you need to see the enter code just ask - thanks
Reply
#2

Use:
pawn Код:
if(IsPlayerInRangeOfPoint(playerid,3.0,364.9961,-11.8380,1001.8516))
{
    switch(GetPlayerVirtualWorld(playerid))
    {
        case 8: {}
        case 10: {}
        case 23: {}
    }
}
Reply
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
Use:
pawn Код:
if(IsPlayerInRangeOfPoint(playerid,3.0,364.9961,-11.8380,1001.8516))
{
    switch(GetPlayerVirtualWorld(playerid))
    {
        case 8: {}
        case 10: {}
        case 23: {}
    }
}
where would i put that?
Reply
#4

sorry lol im rly dumb where do i put that lawl thanks bro it worked<3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)