Help VirtualWorld
#3

ok. i've replace it and...
Код:
if (strcmp("/exit", cmdtext, true, 10) == 0)
{
    if(IsPlayerInRangeOfPoint(playerid,5,375.962463,-65.816848,1001.507812)) //burger --- Working --- 
    {
    	if ( GetPlayerVirtualWorld( playerid ) == 2 )
	{
        	SetPlayerPos(playerid,1199.4426,-918.8450,43.1167 );
        	SetPlayerInterior(playerid,0);
        	SetPlayerVirtualWorld(playerid,0);
	}
    }
    else if(IsPlayerInRangeOfPoint(playerid,5,375.962463,-65.816848,1001.507812)) //burger --- Not working --- 
    {
    	if ( GetPlayerVirtualWorld( playerid ) == 3 )
	{
        	SetPlayerPos(playerid,810.5773,-1615.8075,13.5469 );
        	SetPlayerInterior(playerid,0);
        	SetPlayerVirtualWorld(playerid,0);
	}
    }
    return 1;
}
The 2nd /enter is working, but /exit is not working anymore.
here is the /enter code too
Код:
if (strcmp("/enter", cmdtext, true, 10) == 0)
{
    if(IsPlayerInRangeOfPoint(playerid,5,1199.4426,-918.8450,43.1167)) //burger Los Santos - Sus - Working
    {
        SetPlayerPos(playerid,375.962463,-65.816848,1001.507812 );
        SetPlayerInterior(playerid,10);
        SetPlayerVirtualWorld(playerid,2);
    }
    if(IsPlayerInRangeOfPoint(playerid,5,810.5773,-1615.8075,13.5469)) // burger Los Santos - Jos - NotWorking
    {
        SetPlayerPos(playerid,375.962463,-65.816848,1001.507812 );
        SetPlayerInterior(playerid,10);
        SetPlayerVirtualWorld(playerid,3);
    }
    return 1;
}
Reply


Messages In This Thread
Help VirtualWorld - by Loloz - 24.09.2012, 11:23
Re: Help VirtualWorld - by Rimeau - 24.09.2012, 11:34
Re: Help VirtualWorld - by Loloz - 24.09.2012, 11:46
Re: Help VirtualWorld - by Rimeau - 24.09.2012, 11:53
Re: Help VirtualWorld - by Loloz - 24.09.2012, 11:59
Re: Help VirtualWorld - by Loloz - 24.09.2012, 12:56
Re: Help VirtualWorld - by Rimeau - 24.09.2012, 12:58
Re: Help VirtualWorld - by Loloz - 24.09.2012, 13:13
Re: Help VirtualWorld - by Rimeau - 24.09.2012, 13:18
Re: Help VirtualWorld - by Loloz - 24.09.2012, 13:27

Forum Jump:


Users browsing this thread: 1 Guest(s)