ERRORS help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ERRORS help (
/showthread.php?tid=188035)
ERRORS help -
marinov - 06.11.2010
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1007) : error 017: undefined symbol "PlayerInfo"
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1007) : warning 215: expression has no effect
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1007) : error 001: expected token: ";", but found "]"
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1007) : error 029: invalid expression, assumed zero
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1007) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Код:
1007 if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2);
How do I fix it ?
Re: ERRORS help -
marinov - 06.11.2010
please help, it is really important
Re: ERRORS help -
Retardedwolf - 06.11.2010
Show us the lines.
Re: ERRORS help -
marinov - 06.11.2010
Код:
1007 if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2);
Ps: I did
Re: ERRORS help -
Retardedwolf - 06.11.2010
Remove the ';' at the end.
Re: ERRORS help -
marinov - 06.11.2010
Still
Код:
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1007) : error 017: undefined symbol "PlayerInfo"
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1007) : warning 215: expression has no effect
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1007) : error 001: expected token: ";", but found "]"
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1007) : error 029: invalid expression, assumed zero
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1007) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Код:
1007 if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2)
Re: ERRORS help -
Haydz - 06.11.2010
post more of your code
Re: ERRORS help -
marko94 - 06.11.2010
Did you took that line along with others from another Gamemode/Filterscript? If you did, CTRL + F and search for PlayerInfo and paste it in your current GM/FS.