Guten Tag,
brauche dringende hilfe und danke im Voraus
if(strcmp(cmd,"/showtickets",true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] > 1)
{
SendClientMessage(playerid,0x00D900C8,"|-------------Support-Tickets-------------|");
for(new i = 0;i<MAX_PLAYERS; i++)
{
if(PlayerNeedsHelp[i] == 1)
{
GetPlayerName(i, pname, sizeof(pname)); // hier der ERROR 4 stk
format(string, sizeof(string),"|Ticket von %s [ID:%d] | Status: Unbearbeitet",pname, i);
SendClientMessage(playerid,COLOR_YELLOW,string);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2,"Du bist nicht Befugt!");
}
}
return 1;
}
C:\Users\JOHNY_BONG\Desktop\Neuer Ordner\[RoG] Reality of German\gamemodes\Selfmade.pwn(21904) : error 017: undefined symbol "pname"
C:\Users\JOHNY_BONG\Desktop\Neuer Ordner\[RoG] Reality of German\gamemodes\Selfmade.pwn(21904) : error 017: undefined symbol "pname"
C:\Users\JOHNY_BONG\Desktop\Neuer Ordner\[RoG] Reality of German\gamemodes\Selfmade.pwn(21904) : error 029: invalid expression, assumed zero
C:\Users\JOHNY_BONG\Desktop\Neuer Ordner\[RoG] Reality of German\gamemodes\Selfmade.pwn(21904) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.