Why isn't this working ?
#5

Quote:
Originally Posted by IceMeteor
Посмотреть сообщение
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(GetPlayerWantedLevel(playerid) >= 1)
    {
        SetPlayerWantedLevel(playerid, 0);
        SetPlayerInterior(playerid, 10);
        SetPlayerPos(playerid,263.9106,77.6354,1001.0391);
    }
    else
    {
        SendClientMessage(playerid, 0xFFFF00C8, "- - - - Los Santos Police Department - - - - ");
        SendClientMessage(playerid, 0x80404000, "This is where criminals hand them selfs in");
    }
    return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
    return 1;
}
Your mistakes is on the usage of { and }
Ahh,

Hi there that works ! great thank you mate.
Reply


Messages In This Thread
Why isn't this working ? - by LukeTheMajor - 10.08.2012, 11:24
Re: Why isn't this working ? - by KingyKings - 10.08.2012, 11:28
Re: Why isn't this working ? - by LukeTheMajor - 10.08.2012, 11:31
Re: Why isn't this working ? - by IceMeteor - 10.08.2012, 11:31
Re: Why isn't this working ? - by LukeTheMajor - 10.08.2012, 11:33

Forum Jump:


Users browsing this thread: 1 Guest(s)