How to get rid of these?
#1

C:\Users\owner\Desktop\firestorm 0.3e\firestorm 0.3e\gamemodes\FRP.pwn(32940) : warning 202: number of arguments does not match definition
C:\Users\owner\Desktop\firestorm 0.3e\firestorm 0.3e\gamemodes\FRP.pwn(32940) : warning 202: number of arguments does not match definition
C:\Users\owner\Desktop\firestorm 0.3e\firestorm 0.3e\gamemodes\FRP.pwn(32957) : error 001: expected token: ")", but found "{"
C:\Users\owner\Desktop\firestorm 0.3e\firestorm 0.3e\gamemodes\FRP.pwn(33052) : warning 202: number of arguments does not match definition
C:\Users\owner\Desktop\PUre 0.3d\firestorm 0.3e\firestorm 0.3e\gamemodes\FRP.pwn(33052) : warning 202: number of arguments does not match definition
C:\Users\owner\Desktop\firestorm 0.3e\firestorm 0.3e\gamemodes\FRP.pwn(9005 : warning 203: symbol is never used: "GetPizzaDistance"
C:\Users\owner\Desktop\firestorm 0.3e\firestorm 0.3e\gamemodes\FRP.pwn(9005 : warning 203: symbol is never used: "MainMenuUpdateForPlayer"
C:\Users\owner\Desktop\firestorm 0.3e\firestorm 0.3e\gamemodes\FRP.pwn(9005 : warning 203: symbol is never used: "ShowMainMenuGUI"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

When you first show as your code and error lines !!
Reply
#3

Yeah, showing the line with problems could be useful, we can't help you without that.
Reply
#4

pawn Код:
}

CMD:sasp(playerid, params[])
{
    if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
        if(IsPlayerInRangeOfPoint(playerid, 4.0, 287,293.7350,188.2314,1007.1719,179.0727))
        {
            ShowPlayerDialog(playerid, DIALOG_SASP, DIALOG_STYLE_LIST, "SASP: Lockers", "Toggle Duty\nEquipment\nClothing Selection\nClear Suspect", "Proceed", "Cancel");
        }
        else
        {
            SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your SASP lockers.");
        }
    }
    return 1;
}
pawn Код:
CMD:sanews(playerid, params[])
{
    if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
        if(IsPlayerInRangeOfPoint(playerid, 4.0, 621.7416,-8.3904,1102.7633))
        {
            ShowPlayerDialog(playerid, DIALOG_SANEWS, DIALOG_STYLE_LIST, "SANews: Lockers", "Toggle Duty\nCamera\nKevlar Vest ($2000)\nFirst Aid Kit\n9mm ($1000)\nClothing Selection", "Proceed", "Cancel");
        }
        else
        {
            SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your SANews lockers.");
        }
    }
    return 1;
}
pawn Код:
CMD:se(playerid, params[])
{
    if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
        if(IsPlayerInRangeOfPoint(playerid,3,354.37,173.91,1008.38) && GetPlayerVirtualWorld(playerid) == 20041)// SENATE Duty
        {
            ShowPlayerDialog(playerid, SEMENU, DIALOG_STYLE_LIST, "Government","Duty\nUniforms\nEquipment", "Select", "Cancel");
        }
        else
        {
            SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your Senate lockers.");
        }
    }
    return 1;
}
Reply
#5

EDIT: You just posted your code as I posted my post.
Reply
#6

Quote:
Originally Posted by sniperwars
Посмотреть сообщение
EDIT: You just posted your code as I posted my post.
It has already been pointed out anyhow..

pawn Код:
CMD:sasp(playerid, params[])
{
    if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
        if(IsPlayerInRangeOfPoint(playerid, 4.0, 287, 293.7350, 188.2314))
        {
            ShowPlayerDialog(playerid, DIALOG_SASP, DIALOG_STYLE_LIST, "SASP: Lockers", "Toggle Duty\nEquipment\nClothing Selection\nClear Suspect", "Proceed", "Cancel");
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, "You aren't in range of your SASP lockers.");
        }
    }
    return 1;
}

CMD:sanews(playerid, params[])
{
    if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
        if(IsPlayerInRangeOfPoint(playerid, 4.0, 621.7416,-8.3904,1102.7633))
        {
            ShowPlayerDialog(playerid, DIALOG_SANEWS, DIALOG_STYLE_LIST, "SANews: Lockers", "Toggle Duty\nCamera\nKevlar Vest ($2000)\nFirst Aid Kit\n9mm ($1000)\nClothing Selection", "Proceed", "Cancel");
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, "You aren't in range of your SANews lockers.");
        }
    }
    return 1;
}

CMD:se(playerid, params[])
{
    if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
        if(IsPlayerInRangeOfPoint(playerid,3,354.37,173.91,1008.38) && GetPlayerVirtualWorld(playerid) == 20041)// SENATE Duty
        {
            ShowPlayerDialog(playerid, SEMENU, DIALOG_STYLE_LIST, "Government","Duty\nUniforms\nEquipment", "Select", "Cancel");
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, "You aren't in range of your Senate lockers.");
        }
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)