Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if defined FILTERSCRIPT_FIX_INCLUDED
- #endinput
- #endif
- #define FILTERSCRIPT_FIX_INCLUDED (true)
- #include <a_samp>
- new ReloadFS = 0;
- forward FSF_OnGameModeInit();
- public OnGameModeInit()
- {
- if( ReloadFS && funcidx("OnFilterScriptInit") != -1 )
- CallLocalFunction("OnFilterScriptInit", "");
- if( funcidx("FSF_OnGameModeInit") != -1 )
- CallLocalFunction("FSF_OnGameModeInit", "");
- return 1;
- }
- #if defined ALS_OnGameModeInit
- #undef OnGameModeInit
- #endif
- #define OnGameModeInit FSF_OnGameModeInit
- forward FSF_OnGameModeExit();
- public OnGameModeExit()
- {
- if( funcidx("FSF_OnGameModeExit") != -1 )
- CallLocalFunction("FSF_OnGameModeExit", "");
- if( funcidx("OnFilterScriptExit") != -1 )
- CallLocalFunction("OnFilterScriptExit", "");
- ReloadFS = 1;
- return 1;
- }
- #if defined ALS_OnGameModeExit
- #undef OnGameModeExit
- #endif
- #define OnGameModeExit FSF_OnGameModeExit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement