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
#2

Have you added neon functions in OnDialogResponse"?
Reply
#3

can i see dialogid == 101?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)