23.09.2013, 05:59
How can I make more than 6 can put the license plate chargers?
PHP код:
if(dialogid == TABLICEBR)
{
if(response)
{
if(IsNumeric(inputtext))
{
new IDVozila = strval(inputtext);
if (IDVozila != PlayerInfo[playerid][pPcarkey] && IDVozila != PlayerInfo[playerid][pPcarkey2] && IDVozila != PlayerInfo[playerid][pPcarkey3])
{SendClientMessage( playerid, COLOR_GRAD1, "[Greseala] Nu se poate schimba placutele de inmatriculare !!!" );return 1;}
new clickstring[300];
new msgbox[300];
msgbox="\nIntroduceti noile numere de оnmatriculare : ";
format(clickstring,sizeof clickstring,msgbox);
PlayerInfo[playerid][pNovatablica] = IDVozila;
ShowPlayerDialog(playerid,TABLICEBRPROMENI,DIALOG_STYLE_INPUT,"Modidicarea numarului de inmatriculare{FF0033}[MAX 6 sloturi]",clickstring,"Schimba","Anuleaza");
}
else
{
SendClientMessage( playerid, COLOR_GRAD1, "[Greseala]Trebuie sa utilizati numerele!" );
return 1;
}
}
return 1;
}