Questions
#2

Ok this code is for your question #3, to set plate to admin name:

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new n[MAX_PLAYER_NAME], veh;
    GetPlayerName(playerid, n, sizeof(n));
    veh = GetPlayerVehicleID(playerid);
    if(newstate == PLAYER_STATE_DRIVER)
    {
        if(playerdata[playerid][level] > 0)
        {
            SetVehicleNumberPlate(veh, n);
            return 1;
        }
    }

    return 1;
}
NOTE: Untested
Reply


Messages In This Thread
Questions - by Rokzlive - 11.01.2011, 04:08
Re: Questions - by wilko1995 - 11.01.2011, 08:21
Re: Questions - by Haydz - 11.01.2011, 08:52
Re: Questions - by Rokzlive - 11.01.2011, 18:42
Re: Questions - by _rAped - 11.01.2011, 18:45
Re: Questions - by HyperZ - 11.01.2011, 18:50

Forum Jump:


Users browsing this thread: 1 Guest(s)