10.03.2012, 08:05
OnFilterscriptInit and Exit code needs to go in your OnGameModeInit and Exit code.
Find other callbacks (SA-MP Default Callbacks) like OnPlayerUpdate, Connect & Disconnect, place this code in your gamemode callbacks.
All vars (new This go at the top of your script, any custom functions (CheckMoney), place at the bottom of your script.
It's quite easy to use FS/INC code in your gamemode, just use common sense and you'll be flying high.
Find other callbacks (SA-MP Default Callbacks) like OnPlayerUpdate, Connect & Disconnect, place this code in your gamemode callbacks.
All vars (new This go at the top of your script, any custom functions (CheckMoney), place at the bottom of your script.
It's quite easy to use FS/INC code in your gamemode, just use common sense and you'll be flying high.