Ich habe das jetze so
Jeffry;
heyhooo:
und bekomme diesen Error
C:\Users\tobi\Desktop\Selfmadescript\gamemodes\Reallifescript.pwn(4429) : warning 203: symbol is never used: "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
ocmd:a(playerid, params[])
{
if(isSupp(playerid, 1) && isAdmin(playerid, 1)) return SendClientMessage(playerid,ROT,"Info: Du bist dazu nicht befugt!");
new string[128];
if(sscanf(params, "s[60]", string))return SendClientMessage(playerid, ROT, "Benutze: /a [nachricht]");
format(string,sizeof(string),"*** %s %s: %s ***",arang(playerid),getPlayerName(playerid), string);//Hier ist der Error
for(new i=0; i<MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i))continue;
SendAdminMessage(ROT, string);
}
return 1;
}
stock arang(playerid)//Hier ist der Error
{
new str[32];
switch(alevel)
{
case 1: str = "Azubie-Admin";
case 2: str = "*2* Admin";
case 3: str = "*3* Admin";
case 1337: str = "H-Admin";
case 2000: str = "Scripter";
case 2002: str = "Owner";
}
switch(slevel)
{
case 1: str = "T-Supporter";
case 2: str = "Supporter";
}
return str;
}