[HELP] argument type mismatch
#1

As the title says.

pawn Код:
if(strcmp(cmd, "/clothes", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if(gPlayerLogged[playerid] == 0)
            {
                SendClientMessage(playerid, COLOR_DARKGREY, " You're not logged in yet.");
                return 1;
            }
            if(PlayerToPoint(6.0, playerid, 2104.1123,2257.2759,11.0234))
            {
                ShowPlayerDialog(playerid, 6, DIALOG_STYLE_INPUT, "Binco", "Type the ID of the skin you want below.", "Change", "Close" );
            }
            else
            {
                SendClientMessage(playerid, COLOR_DARKGREY, " You're not at a clothing store or at the faction spawn.");
            }
        }
        return 1;
    }
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
        case 6:
        {
            if(!response)
            {
                return 1;
            }
            if(!strlen(inputtext))
            {
                ShowPlayerDialog(playerid, 6, DIALOG_STYLE_INPUT, "Binco", "Type the ID of the skin you want below.", "Change", "Close" );
            }
            else
            {
                SetPlayerSkin(playerid, inputtext); // argument type mismatch (argument 2)
            }
        }
    }
    return 0;
}
Reply


Messages In This Thread
[HELP] argument type mismatch - by Fredden1993 - 06.03.2012, 13:10
Re: [HELP] argument type mismatch - by Konstantinos - 06.03.2012, 13:11
Re: [HELP] argument type mismatch - by [Diablo] - 06.03.2012, 13:14
Re: [HELP] argument type mismatch - by Fredden1993 - 06.03.2012, 13:14
Re: [HELP] argument type mismatch - by Twisted_Insane - 06.03.2012, 13:16
Re: [HELP] argument type mismatch - by Fredden1993 - 06.03.2012, 13:16

Forum Jump:


Users browsing this thread: 1 Guest(s)