[HELP]GM 2 errors with warnings[help]
#1

Hello i want to ask for help becouse i am noob on scripting a big one lol anyway i am asking you to fix this becouse i cant edit it when i have thease errors please help i posted on the topic forum no one responded here is link to pastebin http://pastebin.com/d1deaed1a
Reply
#2

What are your errors...?
Reply
#3

Quote:

E:\Zombie Server\Zombie Server\filterscripts\var.pwn(75) : warning 235: public function lacks forward declaration (symbol "GetPlayerTeamColor")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(80) : warning 235: public function lacks forward declaration (symbol "GetPlayerCaption")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(84) : error 090: public functions may not return arrays (symbol "GetPlayerCaption")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(87) : warning 235: public function lacks forward declaration (symbol "minrand")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(92) : warning 235: public function lacks forward declaration (symbol "GetNumberOfPlayers")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(105) : warning 235: public function lacks forward declaration (symbol "GetNumberOnTeam")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(11 : warning 235: public function lacks forward declaration (symbol "IsPlayerDriver")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(127) : warning 235: public function lacks forward declaration (symbol "IsPlayerPassenger")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(136) : warning 235: public function lacks forward declaration (symbol "IsPlayerOnFoot")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(145) : warning 235: public function lacks forward declaration (symbol "GetDistance")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(150) : warning 235: public function lacks forward declaration (symbol "GetDistanceBetweenPlayers")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(15 : warning 235: public function lacks forward declaration (symbol "substr")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(161) : warning 217: loose indentation
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(167) : error 090: public functions may not return arrays (symbol "substr")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(170) : warning 235: public function lacks forward declaration (symbol "SendMessageToTeam")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(181) : warning 235: public function lacks forward declaration (symbol "SendTeamMessageException")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(195) : warning 235: public function lacks forward declaration (symbol "IsPlayerInRange")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(209) : warning 235: public function lacks forward declaration (symbol "IsStr")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(215) : warning 235: public function lacks forward declaration (symbol "AdjustTime")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(230) : warning 235: public function lacks forward declaration (symbol "MovePlayer")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(242) : warning 225: unreachable code
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(245) : warning 235: public function lacks forward declaration (symbol "RandomSpawn")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(252) : warning 235: public function lacks forward declaration (symbol "GetTeamRatio")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(261) : warning 235: public function lacks forward declaration (symbol "SpawnCloseToTeam")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(295) : warning 235: public function lacks forward declaration (symbol "SpawnPlayerAccord")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(353) : warning 217: loose indentation
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(35 : warning 217: loose indentation
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(364) : warning 217: loose indentation
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(566) : warning 217: loose indentation
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(567) : warning 217: loose indentation
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(570) : warning 217: loose indentation
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(605) : warning 217: loose indentation
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(681) : warning 235: public function lacks forward declaration (symbol "SetupPlayerForClassSelection")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(691) : warning 235: public function lacks forward declaration (symbol "SetPlayerTeamFromClass")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(732) : warning 235: public function lacks forward declaration (symbol "WebTimer")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(741) : warning 235: public function lacks forward declaration (symbol "PingTimer")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(764) : warning 235: public function lacks forward declaration (symbol "EndGame")
E:\Zombie Server\Zombie Server\filterscripts\var.pwn(76 : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

((sorry for double post and my bad enlish))

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)