Hallo habe die Errors. kann jemand helfen
C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(215) : error 017: undefined symbol "race"
C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(215) : warning 215: expression has no effect
C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(215) : error 001: expected token: ";", but found "]"
C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(215) : error 029: invalid expression, assumed zero
C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(215) : 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.
public OnPlayerEnterCheckpoint(playerid)
{
if(race[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, ROT, "Du hast Checkpoint Nr. 1 erreicht.");
SetPlayerCheckpoint(playerid, 2087.9995,-1158.5880,90.8354, 2.0/* Koordinaten #2*/);
race[playerid] = 2;
}
else if(race[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, ROT, "Du hast Checkpoint Nr. 2 erreicht.");
SetPlayerCheckpoint(playerid, 1513.9291,-1975.3906,18.5574, 2.0/* Koordinaten #3*/);
race[playerid] = 3;
}
else if(race[playerid] == 3)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, ROT, "Du hast Checkpoint Nr. 3 erreicht.");
SetPlayerCheckpoint(playerid, 1543.9291,-1675.3766,13.5574, 2.0/* Koordinaten #4*/);
race[playerid] = 4;
}
return 1;
}