SA-MP Forums Archive
[Include] Dynamic In-Game Rule Maker [Mysql] - 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)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Dynamic In-Game Rule Maker [Mysql] (/showthread.php?tid=310595)



Dynamic In-Game Rule Maker [Mysql] - Tanush123 - 13.01.2012

Dynamic In-Game Rule Maker [Mysql]
------------What is this?-------------

Well in the Filterscript/Include board i saw there is no Rule Maker. When i mean rule maker i mean as in as you see for some servers there are /rules where it will have the Server Rules. With this include you can create rules in-game by only using /createrule! This will help you to just make some server rules in game and not use "SendClientMessage" for your /rules command on your script. This is my first include so don't please go hard on me

------------Picture-------------


This picture just shows me using
/createrule
First then using
/rules
And after deleting that rule
/deleterule

------------How to Install This?-------------


------------------------------Installation-------------------------------------
1. Drag the Include folder to your script includes
2. Drag the plugins folder to your script plugins
3. Go on your mysql phpmyadmin then on top click Import and upload the .sql file
-----------------------------How to use---------------------------------------
You can get help by using /rhelp
COMMANDS: /createrule (rcon) /deleterule (rcon) /rules (everyone)



------------Questions / Answers-------------

* Question
Please Help, i keep getting "ERROR: You have reached the maximum ID" after i created 9 rules

* Answer
Well you just open Rules.inc and after you will see "#define MAX_RULES 10".
You just edit 10 and change the maximum you want



------------Download Link-------------

Mirror 1 (Mediafire)
Mirror 2 (Solidfiles)

Pastebin

------------Others-------------

Well if you see a bug, please reply above or pm me. If you got any questions just ask below
Also click here if you liked this


Re: Dynamic In-Game Rule Maker [Mysql] - Niko_boy - 13.01.2012

Well Nice !!
Can Be Useful for Lazy Ppl who dont wanna even open pawno to add fking ez commands!!

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
And its very helpful in saving time !


Re: Dynamic In-Game Rule Maker [Mysql] - Rokzlive - 15.01.2012

I loled that this even needed to be made, i mean seriously people are so damn lazy.

Lol nice work.


Respuesta: Dynamic In-Game Rule Maker [Mysql] - nacho_gb1 - 15.01.2012

very good and useful


Re: Dynamic In-Game Rule Maker [Mysql] - Tanush123 - 15.01.2012

thank you guys


Re: Dynamic In-Game Rule Maker [Mysql] - MadSkillz - 15.01.2012

I think is a good idea, you could update rules without having to restart the server gamemode. Nice work!


Re: Dynamic In-Game Rule Maker [Mysql] - Snowman12 - 20.01.2012

fuking rep++ Love it!!! Yes I know I'm lazy but eh.. I spend a lot of time developing plus I like to add new rules on a regular basis!


Re: Dynamic In-Game Rule Maker [Mysql] - Rudyy - 21.01.2012

pastebin? lol


Re: Dynamic In-Game Rule Maker [Mysql] - Tanush123 - 21.01.2012

* Updated pastebin


Re: Dynamic In-Game Rule Maker [Mysql] - [HK]Ryder[AN] - 29.01.2012

Nice.


Re: Dynamic In-Game Rule Maker [Mysql] - FireCat - 29.01.2012

Heh, nice and easy xD


Re: Dynamic In-Game Rule Maker [Mysql] - Tanush123 - 05.02.2012

thanks lol, i just wanted to post this for people who are lazy to make a command


Re: Dynamic In-Game Rule Maker [Mysql] - Axey - 20.07.2013

Well,
Good job
Rep+


Re: Dynamic In-Game Rule Maker [Mysql] - Juninho_Oakley - 20.07.2013

Nice work man