Groups Script -
[HiC]TheKiller - 06.08.2011
[FS]Groups
About this script
I've been bored the last few days and Weponz wanted me to make it so, I did

. It took a good few hours because there where quite a few bugs that needed fixing but they got fixed eventually. It's good for gang servers, so you can message everyone etc. All it requires is ZCMD which you can download
HERE.
Commands:
/groupcreate or /grc - Creates a group.
/groupleave or /grl - Leaves your current group.
/groupinvite or /gri - Invites a person to your group
(Leader Only).
/groupleader or /grlead - Gives someone else the leader position
(Leader Only).
/groupjoin or /grj - Joins someone's group or requests to join someone's group.
/groupkick or /grk - Kicks a member from the group
(Leader Only).
/groupmessage or /gm - Sends a message to all of your group members.
/grouplist - Lists all members in a certain group.
/groups - Lists all groups
Screenshots
Credits
Me - Creating the script and some spawns.
Weponz- The ideas and helping me test
Download
Pastebin
Datafilehost
Re: Groups Script -
Kaperstone - 06.08.2011
cool
Re: Groups Script -
ChriZ - 06.08.2011
Quote:
Originally Posted by xkirill
cool 
|
Cool
Nice.
Re: Groups Script -
-CaRRoT - 06.08.2011
Awesome , i really really really wanted something like this , THANKS MAN !!!

(Gave you Reputtion

)
Edit : Can i make this CMD :
pawn Код:
COMMAND:groupcreate(playerid, params[])
{
if(group[playerid][gid] != -1) return SendClientMessage(playerid, 0xFF0000, "Leave your group with {FFFFFF}/groupleave{FF0000} before creating a new one!");
if(strlen(params) > 49 || strlen(params) < 3) return SendClientMessage(playerid, 0xFF0000, "Usage: {FFFFFF}/groupcreate{FF0000} (Group name 3-50 characters)!");
if(IsGroupTaken(params)) return SendClientMessage(playerid, 0xFF0000, "Group name is already in use!");
CreateGroup(params, playerid);
return 1;
}
only for admin lvl 1337 +
And how to make That groups Save on GMX ?

, sorry for much questions but i really ned that Script
Re: Groups Script -
ChriZ - 06.08.2011
Код:
COMMAND:groupcreate(playerid, params[])
{
if(PlayerInfo[playerid][AdminLevel] >= 1337)
{
if(group[playerid][gid] != -1) return SendClientMessage(playerid, 0xFF0000, "Leave your group with {FFFFFF}/groupleave{FF0000} before creating a new one!");
if(strlen(params) > 49 || strlen(params) < 3) return SendClientMessage(playerid, 0xFF0000, "Usage: {FFFFFF}/groupcreate{FF0000} (Group name 3-50 characters)!");
if(IsGroupTaken(params)) return SendClientMessage(playerid, 0xFF0000, "Group name is already in use!");
CreateGroup(params, playerid);
return 1;
}
??
Re: Groups Script -
MiTToS - 06.08.2011
grat job!
Re: Groups Script -
Djankaa - 06.08.2011
Nice man
Re: Groups Script -
FireCat - 06.08.2011
Like it
Re: Groups Script -
Kar - 06.08.2011
Quote:
Originally Posted by [HiC]TheKiller
Weponz- The ideas and helping me test
|
Urgh, now he's giving you guys ideas to make scripts for him? He's trying to copy other servers -.- now you went and made it like alot of server's have D:
Re: Groups Script - suhrab_mujeeb - 06.08.2011
nice i suggest u group chat or something like that cmd too
Re: Groups Script -
Ronaldo_raul™ - 06.08.2011
awesome work Killer i can see all around your best releases...!
Re: Groups Script -
lyrics - 06.08.2011
I love it
Nice Good FS Gonna use it to my server
Re: Groups Script -
SoniB0y - 06.08.2011
I like this FS
Re: Groups Script -
[HiC]TheKiller - 06.08.2011
Thanks guys, any suggestions would be great.
Re: Groups Script -
Horrible - 07.08.2011
not cahnge the name??
example /grc 3p >change to [3p]Horrible
if no i suggest to you.
Re: Groups Script -
umarmalik - 07.08.2011
How to save the group members?
Re: Groups Script -
Cpt.Markus - 25.10.2011
can groups to be saved when server restarts?
Re: Groups Script -
Cpt.Markus - 25.10.2011
i need some help
i wanna make the
Код:
COMMAND:groupcreate(playerid, params[])
{
if(group[playerid][gid] != -1) return SendClientMessage(playerid, 0xFF0000, "Leave your group with {FFFFFF}/groupleave{FF0000} before creating a new one!");
if(strlen(params) > 49 || strlen(params) < 3) return SendClientMessage(playerid, 0xFF0000, "Usage: {FFFFFF}/groupcreate{FF0000} (Group name 3-50 characters)!");
if(IsGroupTaken(params)) return SendClientMessage(playerid, 0xFF0000, "Group name is already in use!");
CreateGroup(params, playerid);
return 1;
}
for RCON Admin only because players will abuse it how i can make it ? i tried but i got errors
anyways can somebody guys make it?
Re: Groups Script -
morris91 - 26.10.2011
Код:
COMMAND:groupcreate(playerid, params[])
{
if(IsPlayerAdmin(playerid)
if(group[playerid][gid] != -1) return SendClientMessage(playerid, 0xFF0000, "Leave your group with {FFFFFF}/groupleave{FF0000} before creating a new one!");
if(strlen(params) > 49 || strlen(params) < 3) return SendClientMessage(playerid, 0xFF0000, "Usage: {FFFFFF}/groupcreate{FF0000} (Group name 3-50 characters)!");
if(IsGroupTaken(params)) return SendClientMessage(playerid, 0xFF0000, "Group name is already in use!");
CreateGroup(params, playerid);
return 1;
}
That maybe.
Re: Groups Script -
Cpt.Markus - 26.10.2011
thanks but it gives me errors :P
Код:
C:\Users\Notis\Desktop\Pawno Works\filterscripts\Group.pwn(56) : error 001: expected token: ")", but found "if"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.