crimes
#2

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)
    {
        new string[128], pNick[20];
        GetPlayerName(playerid, pNick, sizeof pNick);
        format(string, sizeof string, "%s (%d) has stolen a vehicle!", pNick, playerid);
        SendClientMessageToAll(0xFF0000FF, string);
        switch(GetPlayerWantedLevel(playerid))
        {
          case 0, 1, 2, 3, 4: SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid) +2);
          case 5, 6: SetPlayerWantedLevel(playerid, 6);
        }
    }
    return 1;
}
Something like that anyway
Reply


Messages In This Thread
crimes - by Kar - 19.06.2010, 02:04
Re: crimes - by TheInnocentOne - 19.06.2010, 03:58
Re: crimes - by Kar - 19.06.2010, 04:01
Re: crimes - by TheInnocentOne - 19.06.2010, 04:02
Re: crimes - by Kar - 19.06.2010, 04:03
Re: crimes - by TheInnocentOne - 19.06.2010, 04:04
Re: crimes - by Kar - 19.06.2010, 04:34
Re: crimes - by Antonio [G-RP] - 19.06.2010, 04:36
Re: crimes - by TheInnocentOne - 19.06.2010, 05:21
Re: crimes - by Kar - 19.06.2010, 05:25

Forum Jump:


Users browsing this thread: 1 Guest(s)