Help with errors
#1

Please help me fast i have a lot of errors
gamemodes\Zombie script.pwn(9) : error 017: undefined symbol "MAX_PLAYERS"
gamemodes\Zombie script.pwn(9) : error 009: invalid array size (negative, zero or out of bounds)
gamemodes\Zombie script.pwn(24) : error 017: undefined symbol "SetPlayerColor"
gamemodes\Zombie script.pwn(2 : error 017: undefined symbol "SetPlayerColor"
gamemodes\Zombie script.pwn(4 : error 017: undefined symbol "main"
gamemodes\Zombie script.pwn(50) : error 017: undefined symbol "print"
gamemodes\Zombie script.pwn(51) : error 017: undefined symbol "print"
gamemodes\Zombie script.pwn(52) : error 017: undefined symbol "print"
gamemodes\Zombie script.pwn(57) : error 029: invalid expression, assumed zero
gamemodes\Zombie script.pwn(57) : error 017: undefined symbol "OnGameModeInit"
gamemodes\Zombie script.pwn(60) : error 017: undefined symbol "SetGameModeText"
gamemodes\Zombie script.pwn(61) : error 017: undefined symbol "AddPlayerClass"
gamemodes\Zombie script.pwn(62) : error 017: undefined symbol "AddPlayerClass"
gamemodes\Zombie script.pwn(66) : warning 225: unreachable code
gamemodes\Zombie script.pwn(66) : error 029: invalid expression, assumed zero
gamemodes\Zombie script.pwn(66) : error 017: undefined symbol "OnGameModeExit"
gamemodes\Zombie script.pwn(71) : warning 225: unreachable code
gamemodes\Zombie script.pwn(71) : error 029: invalid expression, assumed zero
gamemodes\Zombie script.pwn(71) : error 017: undefined symbol "OnPlayerRequestClass"
gamemodes\Zombie script.pwn(73) : error 017: undefined symbol "SetPlayerPos"
gamemodes\Zombie script.pwn(74) : error 017: undefined symbol "SetPlayerCameraPos"
gamemodes\Zombie script.pwn(75) : error 017: undefined symbol "SetPlayerCameraLookAt"
gamemodes\Zombie script.pwn(79) : warning 225: unreachable code
gamemodes\Zombie script.pwn(79) : error 029: invalid expression, assumed zero
gamemodes\Zombie script.pwn(79) : error 017: undefined symbol "OnPlayerConnect"
gamemodes\Zombie script.pwn(84) : warning 225: unreachable code
gamemodes\Zombie script.pwn(84) : error 029: invalid expression, assumed zero
gamemodes\Zombie script.pwn(84) : error 017: undefined symbol "OnPlayerDisconnect"
gamemodes\Zombie script.pwn(89) : warning 225: unreachable code
gamemodes\Zombie script.pwn(89) : error 029: invalid expression, assumed zero
gamemodes\Zombie script.pwn(89) : error 017: undefined symbol "OnPlayerSpawn"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#2

You missed a bracket ( } ) somewhere.
Reply
#3

But where?
Reply
#4

have you

pawn Код:
#include <a_samp>
just i think these functions are in a_samp
Reply
#5

Quote:
Originally Posted by James Coral
Посмотреть сообщение
have you

pawn Код:
#include <a_samp>
just i think these functions are in a_samp
First you check if you have a_samp include or not.
And if it is showing the same error then check where you last edited for the bracket.
Reply
#6

I added it and still I have all errors
Reply
#7

wrong forum section!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)