SA-MP Forums Archive
[FilterScript] Dynamic biz system. - 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] Dynamic biz system. (/showthread.php?tid=612260)



Dynamic biz system. - Dayrion - 16.07.2016

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



Re: Dynamic biz system. - PrinceVegeta - 16.07.2016

Nice Work.


Re: Dynamic biz system. - SyS - 16.07.2016

neat and perfect script good work


Re: Dynamic biz system. - SickAttack - 16.07.2016

For Sell^

Good job, except for choosing y_ini.


Respuesta: Dynamic biz system. - Franco33 - 16.07.2016

New Mediafire link please


Re: Dynamic biz system. - EclipseWho - 17.07.2016

Good one !


Re: Dynamic biz system. - Pr0GreSiVe - 17.07.2016

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


Re: Dynamic biz system. - Dayrion - 17.07.2016

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.


Re: Dynamic biz system. - K0P - 17.07.2016

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


Re: Dynamic biz system. - bthero - 17.07.2016

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