I want to add a /tune command but i get erros :(
#1

Hello guys,
i have a big problem, because i want to add a /tune command, but i get 19 errors...
2 warnings were there before :P
PLease help me I uploaded my Gamemode and i hope you can help me and perhaps to fix the errors pleeease
GameModeLink: http://rapidshare.com/files/207992780/gamemode.rar.html

Код:
C:\Users\Maik\Desktop\server\pawno\include\morphinc.inc(30) : warning 219: local variable "q" shadows a variable at a preceding level
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(8788) : warning 217: loose indentation
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(8888) : warning 217: loose indentation
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26845) : error 010: invalid function or declaration
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26847) : error 010: invalid function or declaration
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26857) : error 010: invalid function or declaration
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26867) : error 010: invalid function or declaration
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26877) : error 054: unmatched closing brace ("}")
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26878) : error 010: invalid function or declaration
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26882) : error 010: invalid function or declaration
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26884) : error 010: invalid function or declaration
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26889) : error 021: symbol already defined: "OnPlayerEnterVehicle"
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26889) : error 017: undefined symbol "IsPlayerInTransfenderVehicle"
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26901) : error 010: invalid function or declaration
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26903) : error 010: invalid function or declaration
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26905) : error 010: invalid function or declaration
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26907) : error 010: invalid function or declaration
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26909) : error 010: invalid function or declaration
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(26913) : error 010: invalid function or declaration
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(27013) : error 025: function heading differs from prototype
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(27014) : error 021: symbol already defined: "PlayerToPoint"
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(27026) : error 026: no matching "#if..."
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(27028) : warning 203: symbol is never used: "InTransfenderVehicle"
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(27028) : warning 203: symbol is never used: "IsPlayerInLocolowVehicle"
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(27028) : warning 203: symbol is never used: "IsPlayerInWAAVehicle"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


19 Errors.
Reply
#2

try to host it on pastebin.
Reply
#3

These have nothing with your /tune command.
pawn Код:
C:\Users\Maik\Desktop\server\pawno\include\morphinc.inc(30) : warning 219: local variable "q" shadows a variable at a preceding level
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(8788) : warning 217: loose indentation
C:\Users\Maik\Desktop\server\gamemodes\gff.pwn(8888) : warning 217: loose indentation
Check the identiation in line 8888 and 8788 (probably it will be 8887 and 8787)
And you got to 'q', that's the reason of giving the first warning.
Reply
#4

Nice to know someones using my mod functions :P

But why add them to script if your not using them? Comment out the isplayerinWAA and transfender nd stuff.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)