ocmd:makeadmin(playerid,params[])
{
if(!isPlayerAnAdmin(playerid,5))return SendClientMessage(playerid,grau,"Du bist kein Admin !");
new pID, rank;
if(sscanf(params,"ui",pID,rank))return SendClientMessage(playerid,grau,"Benutze /makeadmin [id] [Adminlevel] ");
if(rank<0||rank>5)return SendClientMessage(playerid,grau,"Bitte gültigen Rang angeben (1-5)!");
SetPVarInt(pID,"Adminlevel",rank);SendClientMessage(pID,
hellblau,"Du wurdest von Admin %s zu einem Admin Level %s
gemacht",sendername,Adminlevel);// hier die zeile
return 1;
}
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.pwn(230) : error 017: undefined symbol "sendername"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
kann mir einer helfen weis net was falsch ist