C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\RealGamemode2012.pwn(483) : warning 203: symbol is never used: "level"
Zeile:
stock isPlayerAnAdmin(playerid,level)
{
if(GetPVarInt(playerid,"Adminlevel")>=1)return 1;
return 0;
}
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\RealGamemode2012.pwn(483) : warning 203: symbol is never used: "level"
Zeile:
stock isPlayerAnAdmin(playerid,level)
{
if(GetPVarInt(playerid,"Adminlevel")>=1)return 1;
return 0;
}
so?
stock isPlayerAnAdmin(playerid,level)
{
if(GetPVarInt(playerid,"Adminlevel")>=level)return 1;
return 0;
}
Danke und was ist jetzt los?
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\RealGamemode2012.pwn(162) : warning 209: function "ocmdOnPlayerCommandText" should return a value
}
Du solltest die Funktion returnen.
Das heißt, unten
return 1;
reinschreiben.
Vielen Dank