error 035: argument type mismatch (argument 1)
#7

I have file closed, I just posted error line. And I made just this, look to it

pawn Код:
public OnDialogResponse (playerid, dialogid, response, listitem, inputtext [])
{
    switch (dialogid)
    {
        case DIALOG_VOZIDLO:
        {
            if (!response) return true;
            {
                if (listitem == 0)
        {
            if (SlotZabraty [playerid] == 1)
            {
                return SendClientMessage (playerid, -1, "V tomto slote uz je uloћenб zbran!");
            }
            new wSlot1[MAX_PLAYERS], wSlot1Ammo[MAX_PLAYERS];
            wSlot1 [playerid] = GetPlayerWeapon(playerid);
            wSlot1Ammo [playerid] = GetPlayerAmmo(playerid);
            new INI:Subor = INI_Open (Umiestnenie(1));
                INI_WriteInt (Subor, "Slot1Weapon", wSlot1 [playerid]);
                    INI_WriteInt (Subor, "Slot1WeaponAmmo", wSlot1Ammo [playerid]);
            INI_Close (Subor);
                SendClientMessage (playerid, -1, "Ъspeљne si uloћil zbran do slotu 1!");
                SlotZabraty [playerid] = 1;
                    }
                    else if (listitem == 1)
                    {
                SendClientMessage (playerid, -1, "Ъspeљne si uloћil zbran do slotu 2!");
            }
            else if(listitem == 2)
            {
                    SendClientMessage (playerid, -1, "Ъspeљne si uloћil zbran do slotu 3!");
            }
            }
    }
    return true;
}
This tabs are okay dont know why on web is it broken. :D
Reply


Messages In This Thread
error 035: argument type mismatch (argument 1) - by Riwerry - 15.11.2013, 15:19
Re: error 035: argument type mismatch (argument 1) - by Konstantinos - 15.11.2013, 15:27
Re: error 035: argument type mismatch (argument 1) - by Riwerry - 15.11.2013, 15:30
Re: error 035: argument type mismatch (argument 1) - by Konstantinos - 15.11.2013, 15:41
Re: error 035: argument type mismatch (argument 1) - by Riwerry - 15.11.2013, 15:59
Re: error 035: argument type mismatch (argument 1) - by XStormiest - 15.11.2013, 16:15
Re: error 035: argument type mismatch (argument 1) - by Riwerry - 15.11.2013, 16:36

Forum Jump:


Users browsing this thread: 1 Guest(s)