03.04.2018, 17:50
Propably gonna get alot of hate, because I'm propably doing the most simple thing in the world wrong, but I'm trying to compile a filterscript which contains mapping, and I'm getting these errors.
I've been scripting for a few days, so I'm just starting to learn, please bear that in mind, and I know the code is propably messy as hell, as I said, I'm learning. (Also, sorry for my bad English. I'm actually Spanish.)
Here is the file - maps.pwn
And a pastebin link - https://pastebin.com/zk2259MT
Thanks in advanced.
I've been scripting for a few days, so I'm just starting to learn, please bear that in mind, and I know the code is propably messy as hell, as I said, I'm learning. (Also, sorry for my bad English. I'm actually Spanish.)
Код:
C:\Users\Lewis Gazzard\Music\Revenant Gaming Roleplay\filterscripts\maps.pwn(12) : warning 225: unreachable code C:\Users\Lewis Gazzard\Music\Revenant Gaming Roleplay\filterscripts\maps.pwn(12) : warning 217: loose indentation C:\Users\Lewis Gazzard\Music\Revenant Gaming Roleplay\filterscripts\maps.pwn(12) : warning 203: symbol is never used: "tmpobjid" C:\Users\Lewis Gazzard\Music\Revenant Gaming Roleplay\filterscripts\maps.pwn(12) : warning 203: symbol is never used: "Test" C:\Users\Lewis Gazzard\Music\Revenant Gaming Roleplay\filterscripts\maps.pwn(12 -- 14) : warning 209: function "OnFilterScriptInit" should return a value C:\Users\Lewis Gazzard\Music\Revenant Gaming Roleplay\filterscripts\maps.pwn(73) : warning 217: loose indentation C:\Users\Lewis Gazzard\Music\Revenant Gaming Roleplay\filterscripts\maps.pwn(74) : warning 217: loose indentation C:\Users\Lewis Gazzard\Music\Revenant Gaming Roleplay\filterscripts\maps.pwn(80) : warning 217: loose indentation C:\Users\Lewis Gazzard\Music\Revenant Gaming Roleplay\filterscripts\maps.pwn(550) : warning 217: loose indentation C:\Users\Lewis Gazzard\Music\Revenant Gaming Roleplay\filterscripts\maps.pwn(550) : error 021: symbol already defined: "tmpobjid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
And a pastebin link - https://pastebin.com/zk2259MT
Thanks in advanced.