SA-MP Forums Archive
[HELP] proble with script - 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)
+--- Thread: [HELP] proble with script (/showthread.php?tid=381388)



[HELP] proble with script - fireboy - 29.09.2012

hello, i made a script but it gave me these errors:
D:\Documents and Settings\abc\Desktop\Serveris\Conex SA-MP\gamemodes\Untitled.pwn(699) : error 003: declaration of a local variable must appear in a compound block
D:\Documents and Settings\abc\Desktop\Serveris\Conex SA-MP\gamemodes\Untitled.pwn(700) : error 010: invalid function or declaration
D:\Documents and Settings\abc\Desktop\Serveris\Conex SA-MP\gamemodes\Untitled.pwn(702) : error 001: expected token: ";", but found "-identifier-"
D:\Documents and Settings\abc\Desktop\Serveris\Conex SA-MP\gamemodes\Untitled.pwn(70 : error 010: invalid function or declaration
D:\Documents and Settings\abc\Desktop\Serveris\Conex SA-MP\gamemodes\Untitled.pwn(710) : error 010: invalid function or declaration
D:\Documents and Settings\abc\Desktop\Serveris\Conex SA-MP\gamemodes\Untitled.pwn(712) : error 010: invalid function or declaration
D:\Documents and Settings\abc\Desktop\Serveris\Conex SA-MP\gamemodes\Untitled.pwn(714) : error 010: invalid function or declaration
D:\Documents and Settings\abc\Desktop\Serveris\Conex SA-MP\gamemodes\Untitled.pwn(714 -- 715) : error 010: invalid function or declaration
D:\Documents and Settings\abc\Desktop\Serveris\Conex SA-MP\gamemodes\Untitled.pwn(714 -- 717) : error 010: invalid function or declaration
D:\Documents and Settings\abc\Desktop\Serveris\Conex SA-MP\gamemodes\Untitled.pwn(714 -- 717) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


10 Errors.

the script: http://pastebin.com/UtegfiQu

please can somebody fix this, thank you


Re: [HELP] proble with script - .v - 29.09.2012

Could you please post the warning lines instead? In the script you've posted in pastebin it has only 451 lines and in your post it has 714-717.


Re: [HELP] proble with script - xMCx - 29.09.2012

Post the code you suspense to be wrong


Re: [HELP] proble with script - Socan - 29.09.2012

I suggest moving on and starting to use ZCMD.