Alot of dang errors - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Alot of dang errors (
/showthread.php?tid=207994)
Alot of dang errors -
wilko1995 - 07.01.2011
Код:
G:\GTA SA\pawno\include\dini.inc(257) : warning 219: local variable "string" shadows a variable at a preceding level
G:\GTA SA\filterscripts\trialadmin.pwn(48) : warning 219: local variable "file" shadows a variable at a preceding level
G:\GTA SA\filterscripts\trialadmin.pwn(70) : warning 219: local variable "file" shadows a variable at a preceding level
G:\GTA SA\filterscripts\trialadmin.pwn(88) : error 049: invalid line continuation
G:\GTA SA\filterscripts\trialadmin.pwn(89) : error 017: undefined symbol "dcmd_login"
G:\GTA SA\filterscripts\trialadmin.pwn(93) : error 049: invalid line continuation
G:\GTA SA\filterscripts\trialadmin.pwn(96) : error 049: invalid line continuation
G:\GTA SA\filterscripts\trialadmin.pwn(100) : error 049: invalid line continuation
G:\GTA SA\filterscripts\trialadmin.pwn(101) : warning 209: function "OnPlayerCommandText" should return a value
G:\GTA SA\filterscripts\trialadmin.pwn(110) : error 049: invalid line continuation
G:\GTA SA\filterscripts\trialadmin.pwn(111) : error 055: start of function body without function header
G:\GTA SA\filterscripts\trialadmin.pwn(113) : error 021: symbol already defined: "GetPlayerName"
G:\GTA SA\filterscripts\trialadmin.pwn(115) : error 010: invalid function or declaration
G:\GTA SA\filterscripts\trialadmin.pwn(116) : error 010: invalid function or declaration
G:\GTA SA\filterscripts\trialadmin.pwn(117) : error 010: invalid function or declaration
G:\GTA SA\filterscripts\trialadmin.pwn(118) : error 010: invalid function or declaration
G:\GTA SA\filterscripts\trialadmin.pwn(120) : error 010: invalid function or declaration
G:\GTA SA\filterscripts\trialadmin.pwn(122) : error 021: symbol already defined: "dini_Create"
G:\GTA SA\filterscripts\trialadmin.pwn(123) : error 021: symbol already defined: "dini_Set"
G:\GTA SA\filterscripts\trialadmin.pwn(124) : error 021: symbol already defined: "dini_IntSet"
G:\GTA SA\filterscripts\trialadmin.pwn(125) : error 021: symbol already defined: "dini_IntSet"
G:\GTA SA\filterscripts\trialadmin.pwn(126) : error 021: symbol already defined: "dini_IntSet"
G:\GTA SA\filterscripts\trialadmin.pwn(129) : error 010: invalid function or declaration
G:\GTA SA\filterscripts\trialadmin.pwn(132) : error 010: invalid function or declaration
G:\GTA SA\filterscripts\trialadmin.pwn(135) : error 010: invalid function or declaration
G:\GTA SA\filterscripts\trialadmin.pwn(137) : error 010: invalid function or declaration
G:\GTA SA\filterscripts\trialadmin.pwn(141) : error 055: start of function body without function header
G:\GTA SA\filterscripts\trialadmin.pwn(142) : error 021: symbol already defined: "file"
G:\GTA SA\filterscripts\trialadmin.pwn(145) : error 010: invalid function or declaration
G:\GTA SA\filterscripts\trialadmin.pwn(146) : error 010: invalid function or declaration
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Help
? =S
The onlything i did was reorder some things and i dont know what happened
EDIT:
That only came up when i had half my code in notepad for ordering it, now when i compile it says "PAWNO Compiler has Stopped Responding" HELP??
Re: Alot of dang errors -
Toreno - 07.01.2011
It causes because of a little mistake,
It's up to you, you need to go for the last THING you have done you in your SCRIPT.
And look so the FUNCTION or whatever you did here is closed, by saying closed.
Pay attention that you didn't forget to put "}" in the end of your function.
Re: Alot of dang errors -
wilko1995 - 07.01.2011
I went throught EVERY one of my commands and callbacks and EVERYTHING and it all looks OK to me...
http://pastebin.com/Pmy7F2tF
Can some one else be so kind as to check it for me?