[help]Errors on playercommands - 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: [help]Errors on playercommands (
/showthread.php?tid=192336)
[help]Errors on playercommands -
Mlinky - 22.11.2010
Код:
C:\Documents and Settings\antonio\Desktop\SA-MP Server\gamemodes\vrggm.pwn(578) : warning 204: symbol is assigned a value that is never used: "sendername"
C:\Documents and Settings\antonio\Desktop\SA-MP Server\gamemodes\vrggm.pwn(577) : warning 204: symbol is assigned a value that is never used: "string1"
C:\Documents and Settings\antonio\Desktop\SA-MP Server\gamemodes\vrggm.pwn(576) : warning 204: symbol is assigned a value that is never used: "string"
C:\Documents and Settings\antonio\Desktop\SA-MP Server\gamemodes\vrggm.pwn(575) : warning 204: symbol is assigned a value that is never used: "tmp"
C:\Documents and Settings\antonio\Desktop\SA-MP Server\gamemodes\vrggm.pwn(575 -- 596) : error 010: invalid function or declaration
C:\Documents and Settings\antonio\Desktop\SA-MP Server\gamemodes\vrggm.pwn(575 -- 598) : error 010: invalid function or declaration
C:\Documents and Settings\antonio\Desktop\SA-MP Server\gamemodes\vrggm.pwn(575 -- 602) : error 010: invalid function or declaration
C:\Documents and Settings\antonio\Desktop\SA-MP Server\gamemodes\vrggm.pwn(575 -- 602) : fatal error 107: too many error messages on one line
its my mod:
http://pastebin.com/zxq2rWTH
please help
Re: [help]Errors on playercommands -
JaTochNietDan - 22.11.2010
You were missing a return 1 at the end of the OnPlayerCommandText
http://pastebin.com/5vpqj48h
There are also some other issues you need to look into, the warnings simply mean that you've created those variables and are never using them.
Re: [help]Errors on playercommands -
Mlinky - 22.11.2010
tnx for help

error 030: compound statement not closed at the end of file (started at line 576)
how to close?i have on end
http://pastebin.com/V66xnPv7