Hey ich habe folgende Fehler
C:\Users\Eddy\Desktop\SoL\Server\gamemodes\Login.pwn(192) : error 017: undefined symbol "playerid"
C:\Users\Eddy\Desktop\SoL\Server\gamemodes\Login.pwn(210) : error 017: undefined symbol "playerid"
C:\Users\Eddy\Desktop\SoL\Server\gamemodes\Login.pwn(217) : error 017: undefined symbol "playerid"
C:\Users\Eddy\Desktop\SoL\Server\gamemodes\Login.pwn(222) : error 017: undefined symbol "playerid"
C:\Users\Eddy\Desktop\SoL\Server\gamemodes\Login.pwn(223) : error 017: undefined symbol "playerid"
C:\Users\Eddy\Desktop\SoL\Server\gamemodes\Login.pwn(225) : error 017: undefined symbol "playerid"
C:\Users\Eddy\Desktop\SoL\Server\gamemodes\Login.pwn(226) : error 017: undefined symbol "playerid"
//=============ZEILEN================================//
public OnGameModeInit()
{
new spname[MAX_PLAYER_NAME];
GetPlayerName(playerid, spname, sizeof(spname)); //==============HIER==========//
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pMeldung] == 1)
{
format(ALLSTRING, sizeof(ALLSTRING), "%s hat den Server betreten.", spname);
SendClientMessage(i, COLOR_LIGHTGREEN, ALLSTRING);
}
}
new namestr[100];
format(namestr, sizeof(namestr), "Spieler ~r~~h~~h~%s~w~,", spname);
TextDrawSetString(TdSpielerName, namestr);
new msgstr[255];
format(msgstr, sizeof(msgstr), "hat den Server betreten.");
TextDrawSetString(TdNachricht, msgstr);
new ipadr[16];
GetPlayerIp(playerid, ipadr, sizeof(ipadr)); //==============HIER==========//
new ipstr[50];
format(ipstr, sizeof(ipstr), "IP: ~r~~h~%s", ipadr);
TextDrawSetString(TdSpielerIP, ipstr);
new pingstr[50];
format(pingstr, sizeof(pingstr), "Ping: ~r~~h~%d", GetPlayerPing(playerid)); //==============HIER==========//
TextDrawSetString(TdSpielerPing, pingstr);
ShowConInfo();
SetTimer("HideConInfo", TIME_to_HIDE, false);
OfflineFlucht[playerid] = 0; //==============HIER==========//
if(IsPlayerNPC(playerid)) //==============HIER==========//
{
gPlayerLogged[playerid] = 1; //==============HIER==========//
SpawnPlayer(playerid); //==============HIER==========//
return 1;
}