Help with /neon!
#1

I get a job mechanic..then i typed /neon.
But there is no neon this is the pawn command
pawn Code:
if(strcmp(cmd, "/neon", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if(PlayerInfo[playerid][pJob] != 7) { return SendClientMessage(playerid, COLOR_GREY, "   You are not a Mechanic !"); }
            if(!IsPlayerInAnyVehicle(playerid)) { return SendClientMessage(playerid, COLOR_GREY, "   You are not in a vehicle !"); }
            if(PlayerInfo[playerid][pCash] < 2000) { return SendClientMessage(playerid, COLOR_GREY, "   You cant afford the neon !"); }
            new vehicleid = GetPlayerVehicleID(playerid);
            if(IsInvalidNeonVehicle(vehicleid))
            {
                return SendClientMessage(playerid, COLOR_GREY, "   You cant mod this vehicle !");
            }
            DisplayDialogForPlayer(playerid, 101);
        }
    }
Reply


Messages In This Thread
Help with /neon! - by $$Money$$ - 29.12.2011, 09:19
Re: Help with /neon! - by Ironboy - 29.12.2011, 09:33
Re: Help with /neon! - by N0FeaR - 29.12.2011, 11:42

Forum Jump:


Users browsing this thread: 2 Guest(s)