SA-MP Forums Archive
[FilterScript] Gang FS [ MySql + SScanf + 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] Gang FS [ MySql + SScanf + Zcmd ] (/showthread.php?tid=243214)



Gang FS [ MySql + SScanf + Zcmd ] - Cameltoe - 22.03.2011

- Gang FS v1.0

Out of pure boredom and lack off "tiredness" i decided to create an Gang FS, note that i made this at 2-3 ish ( AM ) so it might contain some inefficient scripting's.

What's the purpose?:
- This is a Simple gang system.
- You can create gangs.
- Invite members to join your gang.
- Kick members from your gang.
- It's MySql based ( Strickens plugin )

How to:
- Configure the DB settings to match the script.
- Compile the fs.
- Open up server.cfg and under filterscripts add gang or W/e you decide to save the fs as.

Command's:
- /creategang ( Create an gang )
- /invite ( Invite an player )
- /accept ( Accept an invite )
- /deny ( Deny an invite )
- /kick ( Kick an member )
- /retreat ( Leave the gang )
- /ganginfo ( Shows gang info by id)
- /gangs ( Shows an list of gangs )
- /g ( Send Specific text to gang members only )

Version:
- v1.2

Download:
Pastebin - V1.2
Mediafire - V1.2

Change log:
Код:
Version 1.1
- Fixed duplicated gang names if gang name already exists.
- Implemented dialogs to show gangs and ganginfo.
- made /ganginfo and /gang to show gangs and gang info.
Version 1.2
- Implemented gang name under OnPlayerText.
- Added the /g command.
Comment's:
- Suggestion's is highly appreciated.
- Comment's about the script, bugs etc.
- Haters, save time and don't even post.
- Please report bugs.

Credits:
- Me.
- Murdoxix
- Strickenkid ( mysql plugin )
- ****** ( SScanf )
- Zeex ( Zcmd )
- Samp crew


Re: Gang FS [ MySql + SScanf + Zcmd ] - Rokzlive - 22.03.2011

Cool dude.


Re: Gang FS [ MySql + SScanf + Zcmd ] - anonymousx - 22.03.2011

Good job, man.

PD: Zeex created ZCMD.


Re: Gang FS [ MySql + SScanf + Zcmd ] - Cypress - 22.03.2011

Good job man. People was waiting for this a long time and finally i can learn some of the MySql functions.


Re: Gang FS [ MySql + SScanf + Zcmd ] - Ironboy - 22.03.2011

Nice work


Re: Gang FS [ MySql + SScanf + Zcmd ] - [nL]W0rfleR - 22.03.2011

nice one, Suggestion: to make the gangs save after relog using dini or w/e


Re: Gang FS [ MySql + SScanf + Zcmd ] - Edvin - 22.03.2011

make a gang save....


Re: Gang FS [ MySql + SScanf + Zcmd ] - Cameltoe - 22.03.2011

Quote:
Originally Posted by Rokzlive
Посмотреть сообщение
Cool dude.
Thanks man


Quote:
Originally Posted by anonymousx
Посмотреть сообщение
Good job, man.

PD: Zeex created ZCMD.
Thanks, and yeah, thanks for telling i added credits!

Quote:
Originally Posted by Cypress
Посмотреть сообщение
Good job man. People was waiting for this a long time and finally i can learn some of the MySql functions.
I knew at least someone would take advantage of this script, thanks

Quote:
Originally Posted by Ironboy
Посмотреть сообщение
Nice work
Thanks

Quote:
Originally Posted by DJKillz
Посмотреть сообщение
nice one, Suggestion: to make the gangs save after relog using dini or w/e
It does save, but using MySql instead of dini.

Quote:
Originally Posted by Edvin
Посмотреть сообщение
make a gang save....
Like i just mentioned, it does save but using Mysql.


Re: Gang FS [ MySql + SScanf + Zcmd ] - Medal Of Honor team - 22.03.2011

make a /gangs command to show all the gangs that have been created. BTW awesome work!!


Re: Gang FS [ MySql + SScanf + Zcmd ] - Ivan_Pantovic - 22.03.2011

Nice, Great use of Mysql.
BTW, are there limits of amout of gangs created or is it dynamic?