ocmd:makemember(Playerid,params[])
{
new pID,frakid,string[128];
if(!isPlayerAnAdmin(playerid, 5))return SendClientMessage(playerid, Rot,"Du bist nicht kein Head Admin!");
if(sscanf(params,"ui",pID,frakid))return SendClientMessage(playerid, Rot,"ERROR: /makemember [ID] [FraktionID]");
if(!isPlayerAnAdmin(playerid,5))
{
SetPVarInt(pID,"Fraktion",frakid);
format(string,128,"AdmCmd: %s hat %s in die Fraktion %i invitet.",SpielerName(playerid),SpielerName(pID),frakid);
SendClientMessageToAll(Rot,string);
SpielerSpeichern(playerid);
SpielerSpeichern(pID);
}
return 1;
}
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(1146) : error 017: undefined symbol "playerid"
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(1146) : error 017: undefined symbol "playerid"
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(1147) : error 017: undefined symbol "playerid"
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(1148) : error 017: undefined symbol "playerid"
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(1151) : error 017: undefined symbol "playerid"
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(1153) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Wieso macht der da playerid error?
6 Errors.