Undefined symbol "params"?
#3

Yea, sscanf is included.. and sure

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
   if(dialogid == 1)
   {
        if(response)
        {
            if(listitem == 0)
            {
                new receiver;
                if(sscanf(params, "u", receiver)) return SendClientMessage(playerid, -1, " ");
                if(IsPlayerConnected(receiver) && receiver != INVALID_PLAYER_ID)
                {
                    ShowPlayerDialog(playerid, 2 , DIALOG_STYLE_INPUT, "{FF0000}Receiver {FFFFFF}ID.", "{FF0000}Input the player's id you are gonna give score\n {FFFFFF}Tip: Player must be connected.", "Give", "");
                }
                else
                {
                    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{FF0000}Player {FFFFFF}is not connected!", "The player id you typed seems not to be online\n use admcommands to see the admin command list again!", "Ok", "");
                }
            }
        }
    }
    return 1;
}
PS: Don't judge me so high, i'm noob :P
Reply


Messages In This Thread
Undefined symbol "params"? - by Strier - 27.02.2013, 21:43
Re: Undefined symbol "params"? - by 2KY - 27.02.2013, 21:45
Respuesta: Undefined symbol "params"? - by Strier - 27.02.2013, 21:48
Re: Respuesta: Undefined symbol "params"? - by 2KY - 27.02.2013, 21:50
Respuesta: Undefined symbol "params"? - by Strier - 27.02.2013, 21:52
Re: Respuesta: Undefined symbol "params"? - by 2KY - 27.02.2013, 21:54

Forum Jump:


Users browsing this thread: 1 Guest(s)