23.10.2017, 07:49
What is wrong with this code?
ERROR:
Its DSI Give money to all...
Код HTML:
else if( dialogid == DIALOG_DAJSVIMA_NOVAC )
{
if( !response ) return true;
if( response )
{
if((inputtext < 1) || (inputtext > 500000)) return SendClientMessage(playerid,0xFFFFFFFF,"Cifra ne sme biti manja od 5000$, ili vec od 500000$!");
{
kolicina = inputtext;
foreach( Player, i )
{
if( i != INVALID_PLAYER_ID && PlayerLogged[ i ] != false )
{
DajIgracuNovac( i, kolicina );
format( globalstring, sizeof( globalstring ), ""col_athlone"|:.Black Storm:.| "col_white" Vlasnik %s je nagradio sve igrace sa: %d$.", ImeIgraca( playerid ), kolicina );
SCMA( -1, globalstring );
}
}
}
}
}
Код HTML:
error 033: array must be indexed (variable "inputtext") error 017: undefined symbol "kolicina" warning 215: expression has no effect error 017: undefined symbol "kolicina" error 017: undefined symbol "kolicina"
Its DSI Give money to all...