This is not my FS! I Found this in Forum Samp Official But this FS can help Super Stunters!
*****************************************
Name: Server Side money script (servermoneyGM and servermoneyFS)
Date: September 2009
Use: Avoid money hacks
Version: 2.1
SA-MP: Should work on any version.
Made for: 0.2X
*****************************************
V2.0 RELEASED!
This script will make your server use server-side money so if they spawn money it won't affect their real server-money.
Download:
v1.1: Fixed an important bug that made that the timer didn't repeat.
v2.0: Added OnPlayerHaveExtraCash so you can do whatever you want when someone have hacked money(could be other money such as stunt bonus though... warning) Added support for Filterscripts
v2.1: Fixed an important bug making only the ID:0 having his cash updated.
Install (GM):
Super easy!
Just paste #include
right under #include!! This is important!
Wow, congratz, you just did more than 90% of the work!!
Now, paste ServerMoneyInit(); in public OnGameModeInit()
Paste ServerMoneyExit(); in public OnGameModeExit()
Finally add this to your Gamemode:
public OnPlayerHaveExtraCash(playerid,extraamount)
{
return 1;
}
That's it! You're done!
Filterscripts : Write #include right under #include a_samp and you're done!
Make sure you have done the GM step before this one!
Please report in this topic if there's any bug and tell me if you like it.
Enjoy this script! Credits not needed.
*****************************************
Name: Server Side money script (servermoneyGM and servermoneyFS)
Date: September 2009
Use: Avoid money hacks
Version: 2.1
SA-MP: Should work on any version.
Made for: 0.2X
*****************************************
V2.0 RELEASED!
This script will make your server use server-side money so if they spawn money it won't affect their real server-money.
Download:
v1.1: Fixed an important bug that made that the timer didn't repeat.
v2.0: Added OnPlayerHaveExtraCash so you can do whatever you want when someone have hacked money(could be other money such as stunt bonus though... warning) Added support for Filterscripts
v2.1: Fixed an important bug making only the ID:0 having his cash updated.
Install (GM):
Super easy!
Just paste #include
right under #include
Wow, congratz, you just did more than 90% of the work!!
Now, paste ServerMoneyInit(); in public OnGameModeInit()
Paste ServerMoneyExit(); in public OnGameModeExit()
Finally add this to your Gamemode:
public OnPlayerHaveExtraCash(playerid,extraamount)
{
return 1;
}
That's it! You're done!
Filterscripts : Write #include
Make sure you have done the GM step before this one!
Please report in this topic if there's any bug and tell me if you like it.
Enjoy this script! Credits not needed.