Hallo,
BiGGian hatt mir heute ein Gangwar System geschickt.
Ich hab das eingefügt und jetzt hab ich 4 Errors.
Ich brauche Hilfe von Profis :D.
Errors:
C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\Server\gamemodes\Selfmade.pwn(2847) : error 017: undefined symbol "PlayerInfo"
C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\Server\gamemodes\Selfmade.pwn(2847) : warning 215: expression has no effect
C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\Server\gamemodes\Selfmade.pwn(2847) : error 001: expected token: ";", but found "]"
C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\Server\gamemodes\Selfmade.pwn(2847) : error 029: invalid expression, assumed zero
C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\Server\gamemodes\Selfmade.pwn(2847) : 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.
Zeilen:
if(GangZoneWar == 1)
{
if(GangWarMember[playerid] == 1)
{
SetPlayerPos(playerid, GangZoneInfo[Invade[playerid]][zSpawn1X], GangZoneInfo[Invade[playerid]][zSpawn1Y],GangZoneInfo[Invade[playerid]][zSpawn1Z]);
SetPlayerInterior(playerid, 0);
SetPlayerWorldBounds(playerid,20000.0000,-20000.0000,20000.0000,-20000.0000);
if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13) // Zeile: 2847
{
ac_GivePlayerWeapon(playerid, 8,1);
}
else
{
ac_GivePlayerWeapon(playerid, 5,1);
}
ac_GivePlayerWeapon(playerid, GangSafeInfo[GetPlayerGangSafeInfo(playerid)-1][GunId],GangSafeInfo[GetPlayerGangSafeInfo(playerid)-1][GunAmmo]);
ac_GivePlayerWeapon(playerid, 24,100);
GaveWeapon[playerid] = 1;
if(GangZoneInfo[4][zGang] == PlayerInfo[playerid][pMember]
|| GangZoneInfo[4][zGang] == PlayerInfo[playerid][pLeader])
{
ac_GivePlayerWeapon(playerid, 24,100);
ac_GivePlayerWeapon(playerid, GangSafeInfo[GetPlayerGangSafeInfo(playerid)-1][GunId],GangSafeInfo[GetPlayerGangSafeInfo(playerid)-1][GunAmmo]);
}
if(GangZoneInfo[5][zGang] == PlayerInfo[playerid][pMember]
|| GangZoneInfo[5][zGang] == PlayerInfo[playerid][pLeader])
{
// SetPlayerArmour(playerid, 100.0);
}
return 1;
}
Mit freundlichen Grüßen
WhItEoUt.