No entering casino's
#5

there is a public called OnPlayerInteriorChange use that
pawn Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    if(newinteriorid == 10) //add here a PlayerToPoint check or something like that because interior 10 is not only used for casinos
    {
        SetPlayerInterior(playerid, 0);
        SetPlayerPos(playerid, 2048.8167, 1002.0261, 10.6719);
    }
    return true;
}
Reply


Messages In This Thread
No entering casino's - by ArnoVL - 20.03.2009, 21:17
Re: No entering casino's - by Kinetic - 20.03.2009, 21:19
Re: No entering casino's - by ArnoVL - 20.03.2009, 21:21
Re: No entering casino's - by Rks25 - 20.03.2009, 22:15
Re: No entering casino's - by Nero_3D - 20.03.2009, 22:27
Re: No entering casino's - by ArnoVL - 20.03.2009, 22:32
Re: No entering casino's - by Nero_3D - 21.03.2009, 00:57
Re: No entering casino's - by ArnoVL - 21.03.2009, 11:06
Re: No entering casino's - by Nero_3D - 21.03.2009, 13:37
Re: No entering casino's - by LarzI - 21.03.2009, 13:40

Forum Jump:


Users browsing this thread: 1 Guest(s)