Help with inputtext
#4

Saying the problem and also translating the messages would help the users (included me) to understand what's the problem and help you. I had to use ****** translate..

pawn Код:
if (dialogid == SpalvuDialog1)
{
    if (response)
    {
        new
            giveplayerid;
       
        if (sscanf(inputtext, "r", giveplayerid)) return ShowPlayerDialog(playerid, SpalvuDialog1, DIALOG_STYLE_INPUT, "Spalva: Raudona", "Čia įrašykite žaidėjo nick arba ID\nNorėdamas jam pakeisti spalva", "Gerai", "");
        if (giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_DRED, "[iRoam.LT]» Neteisingai nurodytas žaidėjo ID, arba jo nėra prisijungusio!");
        SetPlayerColor(giveplayerid, 0xFF0000FF);
    }
    return 1;
}
Reply


Messages In This Thread
Help with inputtext - by skydux123 - 17.01.2014, 14:36
Re: Help with inputtext - by Vince - 17.01.2014, 14:39
Re: Help with inputtext - by skydux123 - 17.01.2014, 14:42
Re: Help with inputtext - by Konstantinos - 17.01.2014, 14:55

Forum Jump:


Users browsing this thread: 1 Guest(s)