help some stupid warnings
#1

C:\Program Files\Rockstar Games\GTA San Andreas\Download modes\1\SF 4Gang TDM\gamemodes\SF4GDM.pwn(401) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Download modes\1\SF 4Gang TDM\gamemodes\SF4GDM.pwn(426) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Download modes\1\SF 4Gang TDM\gamemodes\SF4GDM.pwn(514) : warning 235: public function lacks forward declaration (symbol "SetupPlayerForClassSelection")
C:\Program Files\Rockstar Games\GTA San Andreas\Download modes\1\SF 4Gang TDM\gamemodes\SF4GDM.pwn(545) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Download modes\1\SF 4Gang TDM\gamemodes\SF4GDM.pwn(561) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Download modes\1\SF 4Gang TDM\gamemodes\SF4GDM.pwn(613) : warning 235: public function lacks forward declaration (symbol "GameModeExitFunc")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


6 Warnings.
Reply
#2

They're not stupid warnings, they're telling you where you've been stupid..

Loose indentation means your indentation is either non existent or ambiguous (or wrong), and the warning 235 is where you are either mispelling function names, or have forgotten to use: forward functionname()
Reply
#3

put this ontop of youre script:

pawn Код:
forward GameModeExitFunc()
//and
forward SetupPlayerForClassSelection()
Reply
#4

Quote:
Originally Posted by luckie12
put this ontop of youre script:

pawn Код:
forward GameModeExitFunc()
//and
forward SetupPlayerForClassSelection()
oke 5 warnings now

C:\Program Files\Rockstar Games\GTA San Andreas\Download modes\1\SF 4Gang TDM\gamemodes\SF4GDM.pwn(42 : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Download modes\1\SF 4Gang TDM\gamemodes\SF4GDM.pwn(453) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Download modes\1\SF 4Gang TDM\gamemodes\SF4GDM.pwn(541) : warning 235: public function lacks forward declaration (symbol "SetupPlayerForClassSelection")
C:\Program Files\Rockstar Games\GTA San Andreas\Download modes\1\SF 4Gang TDM\gamemodes\SF4GDM.pwn(572) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Download modes\1\SF 4Gang TDM\gamemodes\SF4GDM.pwn(58 : warning 217: loose indentation



there is somthing wrong whit playerclass
Reply
#5

Sometimes Loose Indentations depends from some thing is in wrong place (Move example command with space)
Reply
#6

Quote:
Originally Posted by Weirdosport
They're not stupid warnings, they're telling you where you've been stupid..

Loose indentation means your indentation is either non existent or ambiguous (or wrong), and the warning 235 is where you are either mispelling function names, or have forgotten to use: forward functionname()
Dont call ppl stuptid

Код:
forward SetupPlayerForClassSelection()
Must be:
Код:
forward SetupPlayerForClassSelection(playerid)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)