noob vehicles (like Police cars...)
#6

Something like this: (This is just a quick example on how it should look like, this hasn't been tested)

pawn Код:
if(IsPlayerInVehicle(playerid, NoobVehicle[1]) || IsPlayerInVehicle(playerid, NoobVehicle[2]) || IsPlayerInVehicle(playerid, NoobVehicle[3]))
    {
        if(newstate == PLAYER_STATE_DRIVER)
        {  
            if(PlayerInfo[playerid][pLevel] > 3) //This means: If the player is above level 3 it will execute the code between the brackets.
            {
                new Float:fX, Float:fY, Float:fZ; //Remove this if you already have these variables.
                GetPlayerPos(playerid,fX,fY,fZ);
                SetPlayerPos(playerid,fX,fY,fZ+1);
            }
        }
    }
Reply


Messages In This Thread
noob vehicles (like Police cars...) - by Lirbo - 04.06.2014, 16:57
Re: noob vehicles (like Police cars...) - by Vince - 04.06.2014, 17:00
Re: noob vehicles (like Police cars...) - by AndySedeyn - 04.06.2014, 17:02
Re: noob vehicles (like Police cars...) - by Jay_Dixon - 04.06.2014, 17:02
Re: noob vehicles (like Police cars...) - by Lirbo - 04.06.2014, 17:11
Re: noob vehicles (like Police cars...) - by AndySedeyn - 04.06.2014, 17:17

Forum Jump:


Users browsing this thread: 1 Guest(s)