Error!
#3

At The Top Of Script
pawn Код:
CMD:vnos(playerid,params[])
{
    #pragma unused params
    if(GetPVarInt(playerid, "vip") < 3) return SendClientMessage(playerid, 0xFF0000FF, "Your not a vip.");
        if(IsPlayerInAnyVehicle(playerid)) {
            switch(GetVehicleModel( GetPlayerVehicleID(playerid) )) {
                case 448,461,462,463,468,471,509,510,521,522,523,581,586,449:
                return SendClientMessage(playerid,red,"ERROR: You can not tune this vehicle!");
            }
            AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
            return PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
        } else return SendClientMessage(playerid,red,"ERROR: You must be in a vehicle.");
    } else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");
}
Error Line
pawn Код:
} else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");
Reply


Messages In This Thread
Error! - by Mr_Scripter - 27.03.2011, 09:07
Re: Error! - by Raimis_R - 27.03.2011, 09:10
Re: Error! - by Mr_Scripter - 27.03.2011, 09:22
Re: Error! - by Mr_Scripter - 27.03.2011, 09:37
Re: Error! - by jaami - 27.03.2011, 09:42
Re: Error! - by Mr_Scripter - 27.03.2011, 09:49
Re: Error! - by JamesC - 27.03.2011, 09:53
Re: Error! - by armyoftwo - 27.03.2011, 09:53
Re: Error! - by Mr_Scripter - 27.03.2011, 10:13

Forum Jump:


Users browsing this thread: 1 Guest(s)