SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 23/07/2015, 05:12 PM   #1
trablon
Big Clucker
 
trablon's Avatar
 
Join Date: Jan 2010
Location: Turkish Republic
Posts: 123
Reputation: 22
Lightbulb trablon's Group System[MYSQL-R7][THREADED QUERIES][GROUP TAG(scoreboard)]





trablon's Group System - ALPHA- [MYSQL-R7][THREADED QUERIES][GROUP TAG]





Hello everyone, have a nice day and good night!
This is my sixth script that i currently published.There are a lot of way to copy these codes into your gamemode.Also, if you find any bug or anything else, just tell me on this topic.If you want to suggest anything, you have to say with explanation.For example; you have a something in your mind? then tell me with your helpful codes to improve this system!If you are a NEW scripter or editor! DON'T USE THIS SCRIPT, IF YOU ARE NEW AT PAWN SCRIPTING!



This script allows you to create a group for your players if so you are an admin with rcon permission.

  • Creating a group for a player.
  • Customizing TAG for your group.(Server Scoreboard and name tag.)
  • Customizing RANK for your group members.
  • Customizing GROUP CHAT to lock or unlock for your group members.
  • Seeing GROUP MEMBERS ONLINE,ID AND THEIR RANKS for your group.
  • Inviting GROUP MEMBERS for your group with fully dialog.
  • Kicking GROUP MEMBERS for your group.
  • Chatting in GROUP CHANNEL for your group.





Code:
/gtag - /gchatlock - /gkick - /creategroup
/setrank - /gonline - /ginvite - /g
  • [/gtag] - Setting the TAG for your group members.
    [/gchatlock] - Locking and unlocking for your group chat channel.
    [/gkick] - Kicking members of your group.
    [/creategroup] - Creating a group for your players in the server.
    [/setrank] - Setting the rank for any member of group.
    [/gonline] - Displaying with dialog for player's informations like name,id,rank name.
    [/ginvite] - Inviting players into your group membership.



THANKS TO;
Code:
#Y_Less - sscanf
#Zeex - ZCMD
#BlueG - MYSQL

IMPORTANT NOTE FOR USING THIS SCRIPT!
You have to do something for using this script.
FIRST!

  • Create a table named 'groups' for your database on mysql.
  • Create columns named 'gID(int),gName( varchar=128 ),gLeaderName( varchar=32 ),gchat( int ),gTAG( varchar=5 )' for the above 'groups 'table
  • Create columns for your players database on your mysql. (grouppid[int],grouprank[varchar[varchar=5)])
Don't forget to check enum and variables in this script if you decided to add this script into your gamemode.These things are important.If you don't do these things that i said; IT WILL NOT WORK!
trablon is offline   Reply With Quote
Old 23/07/2015, 05:30 PM   #2
SpikY_
High-roller
 
SpikY_'s Avatar
 
Join Date: Jul 2014
Location: xSF
Posts: 1,266
Reputation: 128
Default Re: trablon's Group System[MYSQL-R7][THREADED QUERIES][GROUP TAG(scoreboard)]

This is what i was searching for. Simple and nice.
__________________
-
SpikY_ is offline   Reply With Quote
Old 23/07/2015, 05:34 PM   #3
trablon
Big Clucker
 
trablon's Avatar
 
Join Date: Jan 2010
Location: Turkish Republic
Posts: 123
Reputation: 22
Default Re: trablon's Group System[MYSQL-R7][THREADED QUERIES][GROUP TAG(scoreboard)]

Quote:
Originally Posted by SpikY_ View Post
This is what i was searching for. Simple and nice.
Thanks mate!

I hope, it will be useful for you.
trablon is offline   Reply With Quote
Old 23/07/2015, 05:56 PM   #4
FanHamMer
Little Clucker
 
FanHamMer's Avatar
 
Join Date: Jul 2011
Posts: 44
Reputation: 2
Default Re: trablon's Group System[MYSQL-R7][THREADED QUERIES][GROUP TAG(scoreboard)]

Good job! I would also add dynamic spawn and delete groups.
FanHamMer is offline   Reply With Quote
Old 23/07/2015, 05:57 PM   #5
trablon
Big Clucker
 
trablon's Avatar
 
Join Date: Jan 2010
Location: Turkish Republic
Posts: 123
Reputation: 22
Default Re: trablon's Group System[MYSQL-R7][THREADED QUERIES][GROUP TAG(scoreboard)]

Quote:
Originally Posted by FanHamMer View Post
Good job! I would also add dynamic spawn and delete groups.

Sure thang!

I'll add it soon, thanks mate!
trablon is offline   Reply With Quote
Old 23/07/2015, 06:12 PM   #6
SpikY_
High-roller
 
SpikY_'s Avatar
 
Join Date: Jul 2014
Location: xSF
Posts: 1,266
Reputation: 128
Default Re: trablon's Group System[MYSQL-R7][THREADED QUERIES][GROUP TAG(scoreboard)]

EDIT: You better Create MySQL database, Some peoples Don't know how to create(INCLUDING ME)
__________________
-
SpikY_ is offline   Reply With Quote
Old 23/07/2015, 09:31 PM   #7
trablon
Big Clucker
 
trablon's Avatar
 
Join Date: Jan 2010
Location: Turkish Republic
Posts: 123
Reputation: 22
Default Re: trablon's Group System[MYSQL-R7][THREADED QUERIES][GROUP TAG(scoreboard)]

Quote:
Originally Posted by SpikY_ View Post
EDIT: You better Create MySQL database, Some peoples Don't know how to create(INCLUDING ME)
I see but you could have used search bar for learning that.But it's not a problem..You can create it with these pics.

Quote:
Originally Posted by newbienoob View Post
(topic link: http://forum.sa-mp.com/showthread.php?t=485633 )

Click on Databases to create a new database.


Name your server database and click Create (In this tutorial will use "server" as our database)


After you click the Create button, you will notice your database has been created by looking at left side of your screen. Click your database to manage your table's name and column.

You will see this screen after you click your database. (More explanation in the image)

- After you click Go button, it will redirect to you the next page where you can manage your table's column.

Congratulations, you have created your database and table!
trablon is offline   Reply With Quote
Old 23/07/2015, 11:34 PM   #8
Xaera
Little Clucker
 
Join Date: Feb 2014
Posts: 15
Reputation: 0
Default Re: trablon's Group System[MYSQL-R7][THREADED QUERIES][GROUP TAG(scoreboard)]

Thanks for sharing goods , i might going to use it looks so dope ++
Xaera is offline   Reply With Quote
Old 24/07/2015, 12:28 AM   #9
trablon
Big Clucker
 
trablon's Avatar
 
Join Date: Jan 2010
Location: Turkish Republic
Posts: 123
Reputation: 22
Default Re: trablon's Group System[MYSQL-R7][THREADED QUERIES][GROUP TAG(scoreboard)]

Quote:
Originally Posted by Xaera View Post
Thanks for sharing goods , i might going to use it looks so dope ++
Thanks, mate!
trablon is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] [UPDATED 19/05/2015]MySQL Registration System [Threaded Queries + Whirlpool] Overhaul Tutorials 99 24/03/2018 12:17 PM
[Tutorial] MySQL Registration System [Threaded Queries(R33+) + Whirlpool] newbienoob Tutorials 161 26/12/2016 06:31 PM
Y_Groups Iterator:Group(Group:group) Crayder Scripting Help 0 31/12/2013 08:54 PM
MySQL Threaded Queries CONTROLA Scripting Help 4 25/11/2012 03:02 PM
SQL queries using GROUP BY Dabombber Help Archive 2 05/10/2009 07:47 PM


All times are GMT. The time now is 03:37 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.