Really bad with playerrange[+REP]
#3

Quote:
Originally Posted by Mark_Weston
Посмотреть сообщение
Hey there, I am trying to do two banks, in two different citys.

This is the one for FC.

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 2.0, -179.188339,1133.098266,19.742187)) {
            SetPlayerPos(playerid, 2325.0097, 2369.2297, 2022.9257);
            SetPlayerVirtualWorld(playerid, 3);
        }
        else if(IsPlayerInRangeOfPoint(playerid, 2.0, 2325.0097,2369.2297,2022.9257)) {  //2306.8481,-16.0682,26.7496
            SetPlayerPos(playerid, -179.188339,1133.098266,19.742187);
            SetPlayerVirtualWorld(playerid, 0);
        }
I also want to add this cord
Код:
2140.0405, 1362.4843, 10.8540, 177.8677
how would I do that?
Add another else if block;

PHP код:
        if(IsPlayerInRangeOfPoint(playerid2.0, -179.188339,1133.098266,19.742187)) {
            
SetPlayerPos(playerid2325.00972369.22972022.9257);
            
SetPlayerVirtualWorld(playerid3);
        }
        else if(
IsPlayerInRangeOfPoint(playerid2.02325.0097,2369.2297,2022.9257)) {  //2306.8481,-16.0682,26.7496
            
SetPlayerPos(playerid, -179.188339,1133.098266,19.742187);
            
SetPlayerVirtualWorld(playerid0);
        }
        else if(
IsPlayerInRangeOfPoint(playerid2.02140.04051362.484310.8540)) {  //2306.8481,-16.0682,26.7496
            
SetPlayerPos(playerid/* Player Coordinates here */);
            
SetPlayerVirtualWorld(playerid/* Player Virtual World here */);
        } 
Reply


Messages In This Thread
Really bad with playerrange[+REP] - by Mark_Weston - 21.02.2012, 23:18
Re: Really bad with playerrange[+REP] - by ReneG - 21.02.2012, 23:19
Re: Really bad with playerrange[+REP] - by Think - 21.02.2012, 23:20
Re: Really bad with playerrange[+REP] - by Mark_Weston - 21.02.2012, 23:56
Re: Really bad with playerrange[+REP] - by JhnzRep - 22.02.2012, 00:00
Re: Really bad with playerrange[+REP] - by Mark_Weston - 22.02.2012, 00:09
Re: Really bad with playerrange[+REP] - by JhnzRep - 22.02.2012, 00:13
Re: Really bad with playerrange[+REP] - by Mark_Weston - 22.02.2012, 01:20
Re: Really bad with playerrange[+REP] - by JhnzRep - 22.02.2012, 02:47
Re: Really bad with playerrange[+REP] - by Mark_Weston - 22.02.2012, 04:24

Forum Jump:


Users browsing this thread: 1 Guest(s)