Help With Complile Errors
#3

Global variables should be declared at the top of the script, after the #defines. You have declared them, but at the bottom. Move this up your script:
pawn Код:
enum SETTINGS_MAIN {
    POCKET_MONEY,
    JAIL_COMMANDS,
    ANNOUNCE_SECONDS,
    PASS_MIN,
    PASS_MAX
}

new gSettings[SETTINGS_MAIN];
enum COMMANDS_MAIN {
    AKILL,
    ANNOUNCE,
    ARMOURALL,
    BAN,
    CARHP,
    EXPLODE,
    FLIP,
    GOTO,
    GETHERE,
    GIVEARMOUR,
    GIVEHEALTH,
    GIVEWEAPON,
    GOD,
    HEALALL,
    IMITATE,
    IP,
    KICK,
    MAXAMMO,
    PING,
    SETLEVEL,
    SETWANTED,
    TBAN,
    TIME,
    WEATHER
}

new gCommands[COMMANDS_MAIN];
Put it in just before this line:
pawn Код:
public OnFilterScriptInit()
Give that a go and see what happens. Good luck!
Reply


Messages In This Thread
Help With Complile Errors - by HayZatic - 15.06.2011, 01:16
Re: Help With Complile Errors - by Deskoft - 15.06.2011, 01:55
Re: Help With Complile Errors - by Benjo - 15.06.2011, 05:04

Forum Jump:


Users browsing this thread: 1 Guest(s)