SA-MP Forums Archive
[HELP] Serveral errors in my old 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Serveral errors in my old script. (/showthread.php?tid=91462)



[HELP] Serveral errors in my old script. - 9zviper - 15.08.2009

Hey, I used to run a script called LSRPG on SA:MP about a year and a half ago. I managed to dig up the script only to find it had several errors when I tried to compile it. I am not the creator of the script, the old owner [9z] K3v1n made it, I am simply one of the modifiers of the [9z] Script as I was the leader.

Quote:

E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(10) : error 017: undefined symbol "MAX_PLAYERS"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(10) : error 009: invalid array size (negative, zero or out of bounds)
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(11) : error 017: undefined symbol "MAX_PLAYERS"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(11) : error 009: invalid array size (negative, zero or out of bounds)
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(12) : error 017: undefined symbol "MAX_PLAYERS"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(13) : error 017: undefined symbol "MAX_PLAYERS"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(14) : error 017: undefined symbol "MAX_VEHICLES"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(14) : error 009: invalid array size (negative, zero or out of bounds)
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(15) : error 017: undefined symbol "MAX_PLAYERS"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(16) : error 017: undefined symbol "MAX_PLAYERS"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(16) : error 009: invalid array size (negative, zero or out of bounds)
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(17) : error 017: undefined symbol "MAX_PLAYERS"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(17) : error 009: invalid array size (negative, zero or out of bounds)
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(1 : error 017: undefined symbol "MAX_VEHICLES"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(19) : error 017: undefined symbol "MAX_PLAYERS"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(20) : error 017: undefined symbol "MAX_PLAYERS"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(21) : error 017: undefined symbol "MAX_PLAYERS"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(21) : error 009: invalid array size (negative, zero or out of bounds)
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(22) : error 017: undefined symbol "MAX_PLAYERS"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(22) : error 009: invalid array size (negative, zero or out of bounds)
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(23) : error 017: undefined symbol "MAX_PLAYERS"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(23) : error 009: invalid array size (negative, zero or out of bounds)
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(24) : error 017: undefined symbol "MAX_VEHICLES"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(24) : error 009: invalid array size (negative, zero or out of bounds)
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(25) : error 017: undefined symbol "MAX_PLAYERS"
E:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\9zroleplay.pwn(25) : error 009: invalid array size (negative, zero or out of bounds)

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


26 Errors.

With the hope of not asking for too much, I will upload the script to mediafire, can anyone please fix it and return it to me?

http://www.mediafire.com/?sharekey=e...4e75f6e8ebb871



Re: [HELP] Serveral errors in my old script. - Abernethy - 15.08.2009

Use Pastebin.com


Re: [HELP] Serveral errors in my old script. - 9zviper - 15.08.2009

Sorry about that -

http://pastebin.com/f2609f1b

Here you are


Re: [HELP] Serveral errors in my old script. - 9zviper - 15.08.2009

I'm not sure about the relevance but I think I might be missing some files of some sort... anyone have any ideas, all I found was the .pwn file and I can't compile it to get the .amx.


Re: [HELP] Serveral errors in my old script. - Gozerr - 15.08.2009

Try adding this at the top of the script:
Код:
#include <a_samp>