[FilterScript] Advanced gangs filterscript
#1

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
Reply
#2

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

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

love this will use permanently-with credits of course
Reply
#5

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

eh, How do i make a gang ?
Reply
#7

This looks great
Reply
#8

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

Nice filterscript man
Reply
#10

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

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

nice dude
Reply
#13

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...
Reply
#14

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

To make easy to use...just add /creategang ...
Reply
#16

Yeah
Reply
#17

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.
Reply
#18

nice
Reply
#19

HELP how to create a new gang
Reply
#20

Good [ Keep it up ]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)