Problem with ma GameMode!
#1

When i compile ma gamemode it gives me errors:

Quote:

C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(449) : warning 235: public function lacks forward declaration (symbol "Distance")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(457) : warning 235: public function lacks forward declaration (symbol "PlayerDistanceTo")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(463) : warning 235: public function lacks forward declaration (symbol "TKick")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(473) : warning 235: public function lacks forward declaration (symbol "TBan")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1285) : warning 203: symbol is never used: "Mike2"
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1285) : warning 203: symbol is never used: "Mike1"
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1285) : warning 203: symbol is never used: "lKeys"
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1300) : warning 203: symbol is never used: "Mike2"
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1300) : warning 203: symbol is never used: "Mike1"
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1300) : warning 203: symbol is never used: "lKeys"
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1316) : warning 203: symbol is never used: "Mike2"
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1316) : warning 203: symbol is never used: "Mike1"
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1316) : warning 203: symbol is never used: "lKeys"
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1316 -- 1366) : warning 216: nested comment
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(9552) : warning 235: public function lacks forward declaration (symbol "Errorm")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(988 : warning 235: public function lacks forward declaration (symbol "GameModeExitFunc2")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(10284) : warning 235: public function lacks forward declaration (symbol "WeatherUp")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(10294) : warning 235: public function lacks forward declaration (symbol "WeatherUp2")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(10303) : warning 235: public function lacks forward declaration (symbol "SendPlayerFormattedText")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(10310) : warning 235: public function lacks forward declaration (symbol "SendAllFormattedText")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1031 : warning 235: public function lacks forward declaration (symbol "CheckFlood")(symbol "BanEx_Func6")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11564) : warning 235: public function lacks forward declaration (symbol "BanEx_Func7")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11565) : warning 235: public function lacks forward declaration (symbol "BanEx_Func8")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11566) : warning 235: public function lacks forward declaration (symbol "BanEx_Func9")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11567) : warning 235: public function lacks forward declaration (symbol "BanEx_Func10")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1156 : warning 235: public function lacks forward declaration (symbol "BanEx_Func11")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11569) : warning 235: public function lacks forward declaration (symbol "BanEx_Func12")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11570) : warning 235: public function lacks forward declaration (symbol "BanEx_Func13")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11571) : warning 235: public function lacks forward declaration (symbol "BanEx_Func14")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11572) : warning 235: public function lacks forward declaration (symbol "BanEx_Func15")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11573) : warning 235: public function lacks forward declaration (symbol "BanEx_Func16")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11574) : warning 235: public function lacks forward declaration (symbol "BanEx_Func17")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11575) : warning 235: public function lacks forward declaration (symbol "BanEx_Func18")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11576) : warning 235: public function lacks forward declaration (symbol "BanEx_Func19")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11577) : warning 235: public function lacks forward declaration (symbol "BanEx_Func20")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1157 : warning 235: public function lacks forward declaration (symbol "BanEx_Func21")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11579) : warning 235: public function lacks forward declaration (symbol "BanEx_Func22")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11580) : warning 235: public function lacks forward declaration (symbol "BanEx_Func23")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11581) : warning 235: public function lacks forward declaration (symbol "BanEx_Func24")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11582) : warning 235: public function lacks forward declaration (symbol "BanEx_Func25")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11583) : warning 235: public function lacks forward declaration (symbol "BanEx_Func26")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11584) : warning 235: public function lacks forward declaration (symbol "BanEx_Func27")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11585) : warning 235: public function lacks forward declaration (symbol "BanEx_Func28")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11586) : warning 235: public function lacks forward declaration (symbol "BanEx_Func29")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11587) : warning 235: public function lacks forward declaration (symbol "BanEx_Func30")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1158 : warning 235: public function lacks forward declaration (symbol "BanEx_Func31")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11589) : warning 235: public function lacks forward declaration (symbol "BanEx_Func32")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11590) : warning 235: public function lacks forward declaration (symbol "BanEx_Func33")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11591) : warning 235: public function lacks forward declaration (symbol "BanEx_Func34")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11592) : warning 235: public function lacks forward declaration (symbol "BanEx_Func35")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11593) : warning 235: public function lacks forward declaration (symbol "BanEx_Func36")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11594) : warning 235: public function lacks forward declaration (symbol "BanEx_Func37")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11595) : warning 235: public function lacks forward declaration (symbol "BanEx_Func38")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11596) : warning 235: public function lacks forward declaration (symbol "BanEx_Func39")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11597) : warning 235: public function lacks forward declaration (symbol "BanEx_Func40")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1159 : warning 235: public function lacks forward declaration (symbol "BanEx_Func41")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11599) : warning 235: public function lacks forward declaration (symbol "BanEx_Func42")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11600) : warning 235: public function lacks forward declaration (symbol "BanEx_Func43")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11601) : warning 235: public function lacks forward declaration (symbol "BanEx_Func44")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11602) : warning 235: public function lacks forward declaration (symbol "BanEx_Func45")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11603) : warning 235: public function lacks forward declaration (symbol "BanEx_Func46")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11604) : warning 235: public function lacks forward declaration (symbol "BanEx_Func47")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11605) : warning 235: public function lacks forward declaration (symbol "BanEx_Func48")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11606) : warning 235: public function lacks forward declaration (symbol "BanEx_Func49")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11607) : warning 235: public function lacks forward declaration (symbol "BanEx_Func50")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1160 : warning 235: public function lacks forward declaration (symbol "BanEx_Func51")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11609) : warning 235: public function lacks forward declaration (symbol "BanEx_Func52")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11610) : warning 235: public function lacks forward declaration (symbol "BanEx_Func53")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11611) : warning 235: public function lacks forward declaration (symbol "BanEx_Func54")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11612) : warning 235: public function lacks forward declaration (symbol "BanEx_Func55")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11613) : warning 235: public function lacks forward declaration (symbol "BanEx_Func56")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11614) : warning 235: public function lacks forward declaration (symbol "BanEx_Func57")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11615) : warning 235: public function lacks forward declaration (symbol "BanEx_Func58")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11616) : warning 235: public function lacks forward declaration (symbol "BanEx_Func59")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11617) : warning 235: public function lacks forward declaration (symbol "BanEx_Func60")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1161 : warning 235: public function lacks forward declaration (symbol "BanEx_Func61")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11619) : warning 235: public function lacks forward declaration (symbol "BanEx_Func62")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11620) : warning 235: public function lacks forward declaration (symbol "BanEx_Func63")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11621) : warning 235: public function lacks forward declaration (symbol "BanEx_Func64")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11622) : warning 235: public function lacks forward declaration (symbol "BanEx_Func65")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11623) : warning 235: public function lacks forward declaration (symbol "BanEx_Func66")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11624) : warning 235: public function lacks forward declaration (symbol "BanEx_Func67")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11625) : warning 235: public function lacks forward declaration (symbol "BanEx_Func68")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11626) : warning 235: public function lacks forward declaration (symbol "BanEx_Func69")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11627) : warning 235: public function lacks forward declaration (symbol "BanEx_Func70")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(1162 : warning 235: public function lacks forward declaration (symbol "BanEx_Func71")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11629) : warning 235: public function lacks forward declaration (symbol "BanEx_Func72")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11630) : warning 235: public function lacks forward declaration (symbol "BanEx_Func73")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11631) : warning 235: public function lacks forward declaration (symbol "BanEx_Func74")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11632) : warning 235: public function lacks forward declaration (symbol "BanEx_Func75")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11633) : warning 235: public function lacks forward declaration (symbol "BanEx_Func76")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11634) : warning 235: public function lacks forward declaration (symbol "BanEx_Func77")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11635) : warning 235: public function lacks forward declaration (symbol "BanEx_Func78")
C:\Users\mushroom\Desktop\SAMP Dedicated Server\gamemodes\lsdm1.pwn(11636) : warning 235: public function lacks forward declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 11088 bytes
Code size: 663180 bytes
Data size: 436624 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 1127276 bytes

387 Warnings.

Help me Please!
Reply
#2

https://sampwiki.blast.hk/wiki/Public_functions
Reply
#3

BE A BETTER CODER.

(Forward your publics).
Reply
#4

Basically, because you are doing it wrong

Or to be helpful in any way, you need to forward that ungodly amount of public functions, remove your unused variables, remove any nested comments, and not copy and paste in future.
Reply
#5

thx but this is not ma gamemode actually, there was include forxdudb but author of gm said that u can use simple dudb, and i put dudb in front of forxdudb and it gives these errors...

But all these publics are forwarded , why then is saying that not forwarded?!!
Reply
#6

Ok but can it be problem in includes ?!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)