[FilterScript] Dynamic biz system.
#1

Full Dynamic biz system




» Create a biz easily.
» Features:
- Saved biz system (YINI)
- 6 type of biz available (Total : 29 interiors)
- Customizable name for each biz
- Deposit money on your biz
- Make people pay when they enter in your biz
- Admin commands
- Make your friends investors
- Make your investor earn money

» Include:

Code:
#include <a_samp>
#include <izcmd>
#include <sscanf2>
#include <foreach>
#include <YSI\y_ini>
#include <easyDialog>

Credits to original author for each include.
» RCON commands:
/createbiz : Create a biz with an interior, everything are explain IG.
/destroybiz : destroy a biz or every biz
/closestbiz : get the ID of closest biz
/modifybiz : modify a biz like /biz
/amodifinvestor : Modify investor's right of a specific biz

» Non-RCON commands:
/buybiz : buy a biz
/sellbiz : sell a biz
/biz : manage your biz
/modifinvestor : Modify investor's rights of your biz
/makeinvestor : Make someone an investor
/ibiz : Modifiy a biz as an investor

» Configuration:
Code:
MAX_BIZ 100
- The number of biz

Code:
MAX_BALANCE 1000000
- Amount of max money can be stored in a biz

Code:
MAX_BIZ_NAME 24
- The max lengh of a biz's name

Code:
ICON_BIZ_LOCKED 19522
ICON_BIZ_OPEN	1273
ICON_BIZ_PENDING 1272
ICON_BIZ_INTERIOR 1239
- Pickup ID

Note:
You need to create 3 folders.
Code:
\scriptfiles\BizData
\scriptfiles\BizData\Biz
\scriptfiles\BizData\Investor
If you have any suggestions or comments, let me know.
Download :Pastebin - Mediafire
Reply
#2

Nice Work.
Reply
#3

neat and perfect script good work
Reply
#4

For Sell^

Good job, except for choosing y_ini.
Reply
#5

New Mediafire link please
Reply
#6

Good one !
Reply
#7

thank god a good updated biz system for non mysql gamemodes :P
nice work man 10/10
Reply
#8

Quote:
Originally Posted by EclipseWho
View Post
Good one !
Thanks!
Quote:
Originally Posted by SickAttack
View Post
For Sell^
Good job, except for choosing y_ini.
This is wrong ? I know MYSQL is better but I don't know use MYQSL.
Quote:
Originally Posted by Sreyas
View Post
neat and perfect script good work
Thanks bro' !
Quote:
Originally Posted by PrinceVegeta
View Post
Nice Work.
Thanks you
Quote:
Originally Posted by Franco33
View Post
New Mediafire link please
Fixed, thanks.
Reply
#9

Excellent!
Nice to see a business system in y_ini
+Rep
Reply
#10

Not working on 3z? just works on 3.7 it has "DIALOG_STYLE_TABLIST"
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)