17.01.2014, 14:55
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;
}