Dozens of unexplainable errors in a downloaded include
#1

Hey, I found this old include which was dated back in 2015. I haven't had the guts to bump a 2-year-old thread for this, so I decided to try posting it here. This[click_me] is an include I found while I was searching for some random stuffs about knives. Thought it would be interesting to have a throwing-knife system. I added it on my gamemode, and rather found out the bugs in it. The errors are shown below. I'd rather post a pastebin of what's inside the include. [click_me]

Код:
(230) : error 001: expected token: ";", but found "-identifier-"
(230) : error 017: undefined symbol "f"
(230) : warning 215: expression has no effect
(237) : error 001: expected token: ";", but found "-identifier-"
(237) : error 017: undefined symbol "f"
(237) : warning 215: expression has no effect
(242) : error 001: expected token: ";", but found "-identifier-"
(242) : error 017: undefined symbol "f"
(242) : warning 215: expression has no effect
(247) : error 001: expected token: ";", but found "-identifier-"
(247) : error 017: undefined symbol "f"
(247) : warning 215: expression has no effect
(252) : error 001: expected token: ";", but found "-identifier-"
(252) : error 017: undefined symbol "f"
(252) : warning 215: expression has no effect
(256) : error 001: expected token: ";", but found "-identifier-"
(256) : error 017: undefined symbol "f"
(256) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


12 Errors.
Reply
#2

Try removing all the 'f' from the lines.
Example:
PHP код:
new Float:fAddition 0.0f
To
PHP код:
new Float:fAddition 0.0
I don't think we need to use f while defining float in PAWN.
Reply
#3

Cool, thanks!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)