Enter without a command..
#1

So the problem is that it wont enter.. When I get close to the area that I want to enter nothing happens.
I have to idea where to put it so I've put it under OnPlayerSpawn.

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 1.5, 1833.7703,-1842.5039,13.5781))
    {
        SetPlayerPos(playerid, -25.884498, -185.868988, 1003.546875);
        SetPlayerInterior(playerid, 17);
        SetPlayerVirtualWorld(playerid, 1);
        SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.5, -25.884498, -185.868988, 1003.546875))
    {
        SetPlayerPos(playerid, 1833.7703,-1842.5039,13.5781);
        SetPlayerInterior(playerid, 0);
        SetPlayerVirtualWorld(playerid, 1);
        SetCameraBehindPlayer(playerid);
    }
    return 0;
}
Reply


Messages In This Thread
Enter without a command.. - by .Wicked - 05.10.2013, 00:50
Re: Enter without a command.. - by EiresJason - 05.10.2013, 00:56
Re: Enter without a command.. - by xganyx - 05.10.2013, 00:57
Re: Enter without a command.. - by DobbysGamertag - 05.10.2013, 01:46
Re: Enter without a command.. - by xganyx - 05.10.2013, 01:53
Re: Enter without a command.. - by EiresJason - 05.10.2013, 02:00
Re: Enter without a command.. - by xganyx - 05.10.2013, 02:30
Re: Enter without a command.. - by .Wicked - 05.10.2013, 07:29

Forum Jump:


Users browsing this thread: 1 Guest(s)