Hey liebe sa-mp.de Community, ich habe ein Gangfight/war system in mein Script eingebaut, ich bekomme aber 12 Erros und weiss nicht warum!
Errors:
(6115) : error 017: undefined symbol "killerid"
(6116) : error 017: undefined symbol "killerid"
(6117) : error 017: undefined symbol "killerid"
(6119) : error 017: undefined symbol "killerid"
(6120) : error 017: undefined symbol "killerid"
(6121) : error 017: undefined symbol "killerid"
(6131) : error 017: undefined symbol "killerid"
(6135) : error 017: undefined symbol "killerid"
(6175) : error 017: undefined symbol "string"
(6175) : error 017: undefined symbol "string"
Zeilen:
Zeile 6115: if(IsPlayerConnected(playerid) && IsPlayerConnected(killerid)){
Zeile 6116: if(IsPlayerInArea(killerid, GangfightSystemInfo[i][MinX],GangfightSystemInfo[i][MinY],GangfightSystemInfo[i][MaxX],GangfightSystemInfo[i][MaxY])){
Zeile 6117: new Killerteam = PlayerInfo[killerid][pTeam];
Zeile 6119: if((GangfightSystemInfo[i][GFOwnerID] == Killerteam && GangfightSystemInfo[i][GFGegnerID] == Playerteam) || (GangfightSystemInfo[i][GFOwnerID] == Playerteam && GangfightSystemInfo[i][GFGegnerID] == Killerteam) || killerid == INVALID_PLAYER_ID || GangfightSystemInfo[i][GFOwnerID] == Playerteam && GangfightSystemInfo[i][GFOwnerID] == Killerteam || GangfightSystemInfo[i][GFGegnerID] == Playerteam && GangfightSystemInfo[i][GFGegnerID] == Killerteam){
Zeile 6120: if(killerid == INVALID_PLAYER_ID || GangfightSystemInfo[i][GFOwnerID] == Playerteam && GangfightSystemInfo[i][GFOwnerID] == Killerteam || GangfightSystemInfo[i][GFGegnerID] == Playerteam && GangfightSystemInfo[i][GFGegnerID] == Killerteam){
Zeile 6121: if(killerid == INVALID_PLAYER_ID){
Zeile 6131: else if(GangfightSystemInfo[i][GFOwnerID] == PlayerInfo[playerid][pTeam] && GangfightSystemInfo[i][GFOwnerID] == PlayerInfo[killerid][pTeam]){
Zeile 6135: else if(GangfightSystemInfo[i][GFGegnerID] == PlayerInfo[playerid][pTeam] && GangfightSystemInfo[i][GFGegnerID] == PlayerInfo[killerid][pTeam]){
Zeile 6175: format(string, sizeof(string), "NEWS: Im Kampf um das Gebiet steht es %d (%s) zu %d (%s).", GangfightSystemInfo[i][GFOwnerPoints], OwnerTeamText, GangfightSystemInfo[i][GFGegnerPoints], GegnerTeamText);
Hoffe mir kann jemand helfen!
MfG,
FabianLP!