Just a small problem that all of u masterscripters can easly solve...
#6

pawn Код:
//OnPlayerState callback up here
if(newstate == 2)
    {
    new vehicle;
    vehicle = GetVehicleModel(GetPlayerVehicleID(playerid));
    if(vehicle == 421)
        {
            if(!(gTeam[playerid] == TEAM_DRIVERS && GetPlayerScore(playerid) >= 120)) //if the player is in the right team and has the right score
            {
                RemovePlayerFromVehicle(playerid);
                SendClientMessage(playerid, COLOR_RED, "U need 120 for this car");
                return 1;
            }
        }

    return 1;
    }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)