Hallo
Ich wollte nur eine Fraktion erstellen und habe dann 4 errors bekommen
hier die errors
C:\Users\user\Desktop\Selfmade Projekt\gamemodes\Selfmade.pwn(133) : error 017: undefined symbol "gTeam"
C:\Users\user\Desktop\Selfmade Projekt\gamemodes\Selfmade.pwn(133) : error 029: invalid expression, assumed zero
C:\Users\user\Desktop\Selfmade Projekt\gamemodes\Selfmade.pwn(133 -- 134) : warning 215: expression has no effect
C:\Users\user\Desktop\Selfmade Projekt\gamemodes\Selfmade.pwn(134) : error 001: expected token: ";", but found "}"
C:\Users\user\Desktop\Selfmade Projekt\gamemodes\Selfmade.pwn(134) : 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 OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1764.6777,-1350.0641,15.7553);
SetPlayerCameraPos(playerid, 1772.3188,-1350.4060,15.7582);
SetPlayerCameraLookAt(playerid, 1764.6777,-1350.0641,15.7553);
switch(classid)
{
case 0: gTeam[playerid] = TEAM_LSPD //Hier 133
}<== und hier 134
return 1;
}