/enter
#6

IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z))
The other bits you have in there are unnecessary.
Just like the Cords you have on SetPlayerPos

I assume this is for the Dillimore Police Station so here's what I have for you.
Код:
CMD:enter(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 2.0, 627.3657, -571.5280, 17.8458))
    {
        SetPlayerPos(playerid, 247.0330,65.7600,1003.6406);
        SetPlayerInterior(playerid, 6);
        SetPlayerVirtualWorld(playerid, 5);
    }
    if(IsPlayerInRangeOfPoint(playerid, 2.0, 100,611.1243, -582.5122, 17.3781))
    {
        SetPlayerPos(playerid, 247.0330,65.7600,1003.6406);
        SetPlayerInterior(playerid, 6);
        SetPlayerVirtualWorld(playerid, 5);
    }
    return 1;
}
Reply


Messages In This Thread
/enter - by mkmk - 01.11.2014, 22:01
Re: /enter - by [BOPE]Seu._.Madruga - 01.11.2014, 22:30
Re: /enter - by Thanos1997 - 01.11.2014, 22:39
Re: /enter - by Dziugsas - 02.11.2014, 00:32
Re: /enter - by mkmk - 02.11.2014, 00:34
Re: /enter - by Malicious - 02.11.2014, 00:48
Re: /enter - by mkmk - 02.11.2014, 01:08
Re: /enter - by Malicious - 02.11.2014, 01:39
Re: /enter - by mkmk - 02.11.2014, 01:48
Re: /enter - by Malicious - 02.11.2014, 02:06

Forum Jump:


Users browsing this thread: 2 Guest(s)