SA-MP Forums Archive
[FilterScript] Advanced gangs filterscript - 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] Advanced gangs filterscript (/showthread.php?tid=307894)

Pages: 1 2 3


Advanced gangs filterscript - Soumi - 01.01.2012

Introduction:

An advanced gang system for your roleplay or deathmatch server!

Information:

* Commands:

Admin commands:

You need to be an RCON admin to use these commands.
- /makegangleader [playerid] [gangid]: to make someone a gang leader.
- /resetgang [gangid]: to reset a gang, it will change the gang name to Nothing, leader name to Nobody and everything else to default, it will also kick the online members of this gang.

Regular player commands:

- /gangs: it will show a list of the gangs.
- /acceptgang: When you are invited to join a gang, use this command to accept.
- /loadganginfo: When you join the server, you should use this command to load your gang info (Gang id and rank) and will show the gang MOTD.

Gang Members commands:

- /{g}ang: Gang chat.
- /adjustgang: it is only working for rank 5 and 6, it will show a dialog where you can change the gang name/MOTD/Rank names/Gang Color/Gang skins.
- /giverank: to change a gang member rank, works only for rank 5/6 command.
- /gkick: to kick someone from the gang, works only for rank 5/6 command.
- /ginvite: to invite someone to the gang, works only for rank 5/6 command.
- /gquit: to quit the gang.
- /gclothes: to set change your skin to the gang skin.
- /gmembers: shows a list of current online gang members.

* Saving system:

- Players gang id and gang rank are saved in \scriptfiles\Gangs\Players, the player must use /loadganginfo everytime he logs in.

- Also, gangs info are saved in \scriptfiles\Gangs\ (Gang name, leader name, MOTD, skins, ranks, gang colors).

- Gang chat log system, every gang chat message sent by the player is saved at \scriptfiles\Gangs\Gang Chat Log.txt.

Credits:
Soumi - Scripting.
DracoBlue - dini.
****** - sscanf2
Zeex - ZCMD.

Bugs:
None at the moment, if you found one then please report it in this topic or by a forum PM.

ChangeLog:
Code:
2012 - 01 - 01:
Advanced gangs filterscript released.
Download:

RapidShare (Includes all the files)

Pastebin



Respuesta: Advanced gangs filterscript - [DOG]irinel1996 - 01.01.2012

Excuse me, but what is so advanced? :O
But, you made a good job! 5/5
Happy new year!


Re: Advanced gangs filterscript - Soumi - 01.01.2012

Just wanted to call it advanced gangs FS :P
Anyway, thanks and happy new year.


Re: Advanced gangs filterscript - jtweak - 02.01.2012

love this will use permanently-with credits of course


Re: Advanced gangs filterscript - pmk1 - 02.01.2012

link doesn't work for me can you send pastebin or something?: P


Re: Advanced gangs filterscript - Ronaldo_raulâ„¢ - 03.01.2012

eh, How do i make a gang ?


Re: Advanced gangs filterscript - CrnaStrela - 03.01.2012

This looks great


Re: Advanced gangs filterscript - Montis. - 03.01.2012

Why you use dini include? This is very old saving system MySQL is better way.


Re: Advanced gangs filterscript - Maxandmov - 05.01.2012

Nice filterscript man


Re: Advanced gangs filterscript - Soumi - 06.01.2012

Thanks guys.
I'll post a pastebin link soon.
@Brian: What do you mean?


Re: Advanced gangs filterscript - Soumi - 13.01.2012

Pastebin link added (Sorry for posting it now but i was busy IRL).
Suggestions?


Re : Advanced gangs filterscript - BlacKxStory - 15.01.2012

nice dude


Re: Advanced gangs filterscript - AnoniMMaXxX - 18.01.2012

Hello. I have a small problem with this script... when i try to make myself a gang leader (using command: /makegangleader [PlayerID] [GangID]) it says: "Target ID not found" but i'm logged in as RCON Admin...

PS: Sorry for my bad enghlish...


Re: Advanced gangs filterscript - freddy smyth - 20.01.2012

This was a nice script when we used it in your server! Very easy to use.


Re: Advanced gangs filterscript - nGen.SoNNy - 20.01.2012

To make easy to use...just add /creategang ...


Re: Advanced gangs filterscript - Derek_Westbrook - 22.01.2012

Yeah


Re: Advanced gangs filterscript - T0pAz - 22.01.2012

Please don't use DINI anymore. Not only that, don't use INI system for data storage. INI system was used only for configurations but it's decrepit. Use MySQL or SQLite next time.


Re: Advanced gangs filterscript - [HK]Ryder[AN] - 22.01.2012

nice


Re: Respuesta: Advanced gangs filterscript - varga - 23.01.2012

HELP how to create a new gang


Re: Advanced gangs filterscript - Adzdon - 23.01.2012

Good [ Keep it up ]