Warnings:
C:\Users\kev\Desktop\test\gamemodes\test.pwn(522) : warning 213: tag mismatch
C:\Users\kev\Desktop\test\gamemodes\test.pwn(523) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
Code:
ocmd:setadmin(playerid,params[])
{
if(SpielerInfo[playerid][pAdminlevel] < 4)return SendClientMessage(playerid,Rot,""COLG"[Info:]"COLR"Möglich ab: "COLG" Adminrank: 4");
new pID;
if(sscanf(params,"ui",pID,pAdminlevel))return SendClientMessage(playerid,Rot,""COLG"[Info:]"COLR"/setadmin [playerid] [adminlevel]");
SpielerInfo[pID][pAdminlevel]=pAdminlevel;
SavePlayer(pID);
SendClientMessage(pID,Rot,"Dein Adminrang wurde geändert.");
SendClientMessage(playerid,Rot,"Du hast den Adminrang geändert.");
return 1;
}