[help]Errors on playercommands
#1

Код:
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
Reply
#2

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.
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)