Hey,
Ich bin grade an einem Support System dran.
5 Errors?
C:\Users\Alex\Desktop\GTA City Remake\gamemodes\Revolution.pwn(1702) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Alex\Desktop\GTA City Remake\gamemodes\Revolution.pwn(12376) : error 017: undefined symbol "pInfo"
C:\Users\Alex\Desktop\GTA City Remake\gamemodes\Revolution.pwn(12376) : warning 215: expression has no effect
C:\Users\Alex\Desktop\GTA City Remake\gamemodes\Revolution.pwn(12376) : error 001: expected token: ";", but found "]"
C:\Users\Alex\Desktop\GTA City Remake\gamemodes\Revolution.pwn(12376) : error 029: invalid expression, assumed zero
C:\Users\Alex\Desktop\GTA City Remake\gamemodes\Revolution.pwn(12376) : fatal error 107: too many error messages on one line
Zeilen: Error 1:
public OnPlayerConnect(playerid)
{
TicketZeile[playerid] = 0
SupportTicket[playerid] = 0;
TicketAngenommen[playerid] = 0;
DeinSupport[playerid] = 0;
[Hier Unten gehts noch mit anderen Systemen weiter]
Error 2 bis 5:
ocmd:tickets(playerid, params[])
{
#pragma unused params
if(pInfo[playerid][admin] >= 1)
{
SendClientMessage(playerid, COLOR_YELLOW, "Die angezeigten Tickets können mit /taketicket angenommen werden");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(SupportTicket[i] == 1)
{
if(TicketAngenommen[i] == 0)
{
new string[128], DerSpieler[MAX_PLAYER_NAME];
GetPlayerName(i, DerSpieler, sizeof(DerSpieler));
format(string, sizeof(string), "ID: %d Name: %s", i, DerSpieler);
SendClientMessage(playerid, COLOR_GREY, string);
}
}
}
}
return 1;
}
Hoffe ihr hilft mir.
mfg