17.12.2013, 22:25
hi,
try it like:
try it like:
pawn Код:
new string[320],//Increase if needed...
loginname[24];//decrease string as max. player name cant exceed 24 cells in samp.
GetPlayerName(playerid,loginname,24);
IzbrisiChat(playerid, 100);
format(string, sizeof(string), "%s\n ...text...",string);//your text
format(string, sizeof(string), "%s\n ...text...",string);
format(string, sizeof(string), "%s\n ...text...",string);
format(string, sizeof(string), "%s\n{003CFF}Vi preostanuvaat uste %d obidi !",string,LoginObidi[playerid]);//last line that is not working
ShowPlayerDialog(playerid, 12347, DIALOG_STYLE_PASSWORD, "Profil",string, "Najavi se","Otkazi");
LoginObidi[playerid] --;
if(LoginObidi[playerid] == 0)
{
Kick(playerid);
}