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



Dynamic Chatgroup System - Jochemd - 31.07.2012

DynamicChatgroups


Description
This filterscript allows to create dynamic chatgroups, password them and eventually kick unwanted players from the group. Using y_ini also auto-saves the groups in just one file!

Command Description
/gc [text] Send text to your chatgroup, a.k.a chat.
/creategroup [groupname] Creates a new chatgroup. Defining "RCON_ADMIN_CREATE_ONLY" will allow RCON-admins to create groups only.
/joingroup [groupid] Join a chatgroup. Joining will allow you to chat and see other messages. If the group is passworded, you will have to provide a password.
/leavegroup Leave your current chatgroup
/chatgroups Shows the currently created chatgroups, with their owner and groupname.
/grouppass Allows you to set/remove a group password. Typing this command without parameters removes the password. You must be the owner of the group to use this command.
/kickfromgroup Kick a member from the group. You must be the owner of the group to use this command.
/groupinfo Shows group information such as group name, owner, date of creation and the amount of users on it.
Additional information
I have fully tested the script and no bugs were found. However, if you still manage to find one, please report it right here and I fix it as soon as possible. Also new suggestions will be appreciated.

Download (v1.01)
Download from Pastebin


Re: Dynamic Chatgroup System - Rudy_ - 31.07.2012

Cool
"Will see now" xD
Edit: nice work


Re: Dynamic Chatgroup System - Jochemd - 31.07.2012

Thanks


Re: Dynamic Chatgroup System - Translator - 31.07.2012

Great script, works well.


Re: Dynamic Chatgroup System - Jochemd - 01.08.2012

Thanks!


Re: Dynamic Chatgroup System - gangsterm - 01.08.2012

cant compile

C:\Documents and Settings\PC_gebruiker\Bureaublad\pornntroll\filter scripts\chatg.pwn(195) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\PC_gebruiker\Bureaublad\rtrollolol\filter scripts\chatg.pwn(26 : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


the person who helps me gets a lot of reputation points

1 Error.


Re: Dynamic Chatgroup System - 'seraphin - 02.08.2012

Good


Re: Dynamic Chatgroup System - Waw - 05.08.2012

Where you put this in?


Re: Dynamic Chatgroup System - wade007 - 05.08.2012

deleted


Re: Dynamic Chatgroup System - Jochemd - 05.08.2012

Quote:
Originally Posted by gangsterm
View Post
cant compile

C:\Documents and Settings\PC_gebruiker\Bureaublad\pornntroll\filter scripts\chatg.pwn(195) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\PC_gebruiker\Bureaublad\rtrollolol\filter scripts\chatg.pwn(26 : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


the person who helps me gets a lot of reputation points

1 Error.
About line 195: Are you on 0.3e? If not, update to it.
About line 268: Add ,"" to the end and it will be fixed. It happes because I edited ShowPlayerDialog to make the last button parameter optional