Changing a script from an empty GM into FS?
#7

Amateurs.

#define FILTERSCRIPT is useful ONLY if used aswell with "#if defined FILTERSCRIPT" as seen in the blank script.

pawn Код:
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}

#endif
To translate a gamemode into FS I think only think you need to do is rename "OnGameModeInit" to "OnFilterScriptInit", "OnGameModeExit" to "OnFilterScriptExit", and move all from "main()" to OnFilterScriptInit, and then remove main() function.

Please, do not post if you have no idea what you are talking about.
Reply


Messages In This Thread
Changing a script from an empty GM into FS? - by Da' J' - 04.10.2012, 02:56
Re: Changing a script from an empty GM into FS? - by SwisherSweet - 04.10.2012, 03:04
Re: Changing a script from an empty GM into FS? - by Da' J' - 04.10.2012, 03:05
Re: Changing a script from an empty GM into FS? - by Alcatraz Gaming - 04.10.2012, 03:14
Re: Changing a script from an empty GM into FS? - by SwisherSweet - 04.10.2012, 03:21
Re: Changing a script from an empty GM into FS? - by Alcatraz Gaming - 04.10.2012, 03:31
Re: Changing a script from an empty GM into FS? - by CmZxC - 04.10.2012, 05:08

Forum Jump:


Users browsing this thread: 5 Guest(s)