SA-MP Forums Archive
[FilterScript] NexBank - Advanced Money System [ATMs] [Anti-Money Hack] [MySQL] [ZCMD] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] NexBank - Advanced Money System [ATMs] [Anti-Money Hack] [MySQL] [ZCMD] (/showthread.php?tid=616458)



NexBank - Advanced Money System [ATMs] [Anti-Money Hack] [MySQL] [ZCMD] - NeXoR - 05.09.2016

NexBank Money System
Made by Ne[X]oR


Introduction:
Well, I was very bored so I decided to make up a money system, I knew from the start that I am going to publish it, so I hope you'll like my work.

Features:
Well, The system contains not much features but it matches it's idea.
Advanced & Dynamic ATM System - Able to create & edit when/where ever you want to.
Tiny Anti-Money Hack - Money is stored on server-sided variables, simply can't be hacked.
Easy to understand & implement in your game mode.


Important Defines
There are 2 defines which you should check out before starting:
PHP код:
#define RESET_ON_DEATH - Choose if to reset the player's cash upon death - Default is to do so.
#define REQUIRE_POSITION - If you put 0 here, A player can access bank CMDs from wherever he wants.
If it's 1 then he must be near an ATM - Default is 1. 
Why MySQL ?
Some of you may ask why bother using MySQL on Y INI and such, the answer is, it's the most comfortable / user-friendly and also the fastest saving method.

Commands:
You can easily access the commands using the help commands in game.
The commands are:
PHP код:
/bankhelp Player basic commands
/abankhelp Admin commands (Give money etc.)
/
atmhelp ATM Setup commands
Installation:
All you need is BlueG's MySQL plugin and you are up, I have added the plugin to the ZIP pack anyways.
Simply drag the files to the given directories, and add

Код:
plugins sscanf mysql
somewhere in the server.cfg
When you start the server, you should receive this message:

Код:
NexBank Filterscript has been loaded successfully.
If you haven't, check your MySQL log.

Bugs:
It's a very small script so I could have tested all the commands & functions alone and easily.
No bugs tracked down and there shouldn't be any.


Download & Virus Check:
MEDIAFIRE
PASTEBIN

Thank you for spending your time on watching my thread, I'll be happy for any criticism.



Re: NexBank - Advanced Money System [ATMs] [Anti-Money Hack] [MySQL] [ZCMD] - Younes44 - 05.09.2016

Not bad
+Rep


Re: NexBank - Advanced Money System [ATMs] [Anti-Money Hack] [MySQL] [ZCMD] - NeXoR - 05.09.2016

Quote:
Originally Posted by Younes44
Посмотреть сообщение
Not bad
+Rep
Thank you, any suggestions ?


Re: NexBank - Advanced Money System [ATMs] [Anti-Money Hack] [MySQL] [ZCMD] - Ultraz - 05.09.2016

Good Job , Awesome work .


Re: NexBank - Advanced Money System [ATMs] [Anti-Money Hack] [MySQL] [ZCMD] - markparker12 - 06.09.2016

Awesome bank system, but you can improve it.


Re: NexBank - Advanced Money System [ATMs] [Anti-Money Hack] [MySQL] [ZCMD] - NeXoR - 06.09.2016

Quote:
Originally Posted by markparker12
Посмотреть сообщение
Awesome bank system, but you can improve it.
Give me some ideas, I published it because I didn't have any more ideas