[HELP] Serveral errors in my old script.
#1

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
Reply
#2

Use Pastebin.com
Reply
#3

Sorry about that -

http://pastebin.com/f2609f1b

Here you are
Reply
#4

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)