I need help with pawno compiler
#1

I need Help with pawno compiler i tried to compile my server gamemode and it showd some errors can someone help me with those errors

Link For Scrip http://pawn.pastebin.com/f34f4e063

Код:
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(4840) : error 025: function heading differs from prototype
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(4844) : error 025: function heading differs from prototype
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(4848) : error 025: function heading differs from prototype
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(4826) : warning 204: symbol is assigned a value that is never used: "An5"
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(4826 -- 4965) : warning 203: symbol is never used: "An6"
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(602) : warning 204: symbol is assigned a value that is never used: "WebAn"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply
#2

Errors only are not enough. Show these error lines too, please.
Reply
#3

you will need to post the script
Reply
#4

i dont know where to post the script its too long
Reply
#5

www.pastebin.com
Reply
#6

http://pawn.pastebin.com for PAWN
Reply
#7

You have bracket "}" missing in lines 4840, 4844 and 4848.
Reply
#8

Quote:
Originally Posted by MadeMan
You have bracket "}" missing in lines 4840, 4844 and 4848.
i added the brackets and got this
Код:
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(249) : error 020: invalid symbol name ""
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(250) : error 001: expected token: ";", but found "new"
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(602) : error 017: undefined symbol "WebAn"
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(4841) : error 025: function heading differs from prototype
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(4845) : error 025: function heading differs from prototype
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(4849) : error 025: function heading differs from prototype
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(4966) : warning 203: symbol is never used: ""
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Reply
#9

pawn Код:
new An1,An2,An3,An4,;
change to

pawn Код:
new An1,An2,An3,An4;
and

pawn Код:
WebAn = SetTimer("WebSite", 450000, 1);
to

pawn Код:
SetTimer("WebSite", 450000, 1);
Reply
#10

Quote:
Originally Posted by MadeMan
pawn Код:
new An1,An2,An3,An4,;
change to

pawn Код:
new An1,An2,An3,An4;
and

pawn Код:
WebAn = SetTimer("WebSite", 450000, 1);
to

pawn Код:
SetTimer("WebSite", 450000, 1);
i did that and got this
Код:
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(4841) : error 025: function heading differs from prototype
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(4845) : error 025: function heading differs from prototype
C:\Users\Javier\Desktop\SERVERS\SDR\gamemodes\SDR.pwn(4849) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)