Hydcar help
#3

pawn Код:
if(strcmp(cmd, "/hydcar", true) == 0)
    {
            if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_ORANGE, "[ERROR:] You need to be in a vehicle to do this.");
            if(PlayerInfo[playerid][pJob] != 10) return SendClientMessage(playerid, COLOR_ORANGE, "[ERROR:] You're not a mechanic.");
            SendClientMessage(playerid, COLOR_GREEN, "You have successfully added hydraulics");
            SendClientMessage(playerid, COLOR_ORANGE, "Beware, This modification is illegal in public areas");
            AddVehicleComponent(GetPlayerVehicleID(playerid), 1087);
            return 1;
    }
Reply


Messages In This Thread
Hydcar help - by Joshswag - 24.11.2012, 00:14
Re: Hydcar help - by Rudy_ - 24.11.2012, 06:28
Re: Hydcar help - by Glad2BeHere - 24.11.2012, 06:34

Forum Jump:


Users browsing this thread: 1 Guest(s)