27.08.2010, 18:25
hi i have this stock all is ok but i get a error
stock CekkaComando(playerid,cmd[])
{
if(!dini_Exists("ConfigurazioneComandi/comandi.ini")) return SendClientMessage(playerid,0x33CCFFAA,"Scusa ma non ce nessun comando/livello settato :/"),0;
if(!dini_Isset("ConfigurazioneComandi/comandi.ini",cmd)) return SendClientMessage(playerid,0x33CCFFAA,"Scusa ma non ce nessun comando/livello settato :/"),0;
if(GetInfo(playerid,"AdminLevel")>=dini_Int("Confi gurazioneComandi/comandi.ini",cmd)) && gPlayerLogged[playerid] = 1) return 1;
return 0;
}
error .....
error 029: invalid expression, assumed zero
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
in this line
if(GetInfo(playerid,"AdminLevel")>=dini_Int("Confi gurazioneComandi/comandi.ini",cmd)) && gPlayerLogged[playerid] = 1) return 1;
what is wrong plz help me
stock CekkaComando(playerid,cmd[])
{
if(!dini_Exists("ConfigurazioneComandi/comandi.ini")) return SendClientMessage(playerid,0x33CCFFAA,"Scusa ma non ce nessun comando/livello settato :/"),0;
if(!dini_Isset("ConfigurazioneComandi/comandi.ini",cmd)) return SendClientMessage(playerid,0x33CCFFAA,"Scusa ma non ce nessun comando/livello settato :/"),0;
if(GetInfo(playerid,"AdminLevel")>=dini_Int("Confi gurazioneComandi/comandi.ini",cmd)) && gPlayerLogged[playerid] = 1) return 1;
return 0;
}
error .....
error 029: invalid expression, assumed zero
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
in this line
if(GetInfo(playerid,"AdminLevel")>=dini_Int("Confi gurazioneComandi/comandi.ini",cmd)) && gPlayerLogged[playerid] = 1) return 1;
what is wrong plz help me