Group System (2) Beta
Note: The script is currently in beta stage and therefore buggy.
Introduction
Note: The script is currently in beta stage and therefore buggy.
Introduction
My original plan was to create a group system which would support multiple(10) groups per player at a time but i cancelled my work on it as the requirement for my server was changed(however it is still uploaded below) and with that i came with some minor adjustments. I actually wanted to create a system in which a player could have as many ranks as he desires for his group and each with it's own special permissions and level. Although, i have come along a long way but there is still some polishing to be done and bugs to be fixed.
MySQL Table Structure
My Group system currently uses 3 tables.
Groups2 which contains all of the data relating to the group.
Code:
gID
gName
gLeaderName
gChat
gCredits //additional stuff
gResources
gWarWins
gWarLosses
gDraws
gScores
Code:
pID
pName
grouppid
prID
groupcontribution
gWarKills
pGroups
Code:
rID
rgID
rName
rLevel
rPermission1,2,3,4,5
Commands
Following are the commands scripted into the Filterscript.
Code:
/groups - Lists available groups.
/groupinfo(ID) - Get GroupInfo by either ID or Name.
/creategroup - You must be a rcon admin to use this command.
/groupinvite - For Group Leaders or those with special permission.
/g - Group Chat
/groupkick - For Leader and those with special permission.
/groupranks - Display's group rank (bugged atm)
/GroupEditRank
/GroupSetRank
/GroupChatLock
Code:
SAMP Team for everything.
Y_Less for y includes and sscanf.
Zex for zcmd
There are many bugs which needs to be fixed.