Jump to content

Team System


screedix

Recommended Posts

Hey.

 

So I've been trying out all these team systems I've found and it's been an absolute nightmare. Some of them work, but are extremely lacking of features, the others just purely don't work at all. I'm reaching out for help to all of you, cause I know this would be the best place to ask for help. All I want is a system as where only admins can create groups, but players could only invite others to that group. I'd want the group to have different permissions, for an example the leader of the group being able to invite new members whilst the normal members couldn't do that. I'd like it to be so when you invite the player, only then he can join. As of right now, I'm stuck with using the team system on the admin-panel. I want it so when you invite a player, they only need to add the clan tag to their name and they'll be automatically in the team. When joining the team, they should have the same name color as the team name color. Let me know if you know about scripts like these and where I could find them.

 

Thank you.

Link to comment
7 hours ago, NeXuS™ said:

Do you want a panel or just commands?

I'd want it to be a panel which would come up with a press of a button. If the player that tries triggering the event is not in a team, I'd want a message being said in the chat that they're not in a clan.

Link to comment

I don't think that there's a resource like that already made. However you can research this one and try to edit some parts so that the /invite nick system works. https://github.com/JarnoVgr/Mr.Green-MTA-Resources/tree/master/resources/[gameplay]/gcshop/teams

It also has a panel from which you can see all teams, people in your team, who created the team and who is the leader (leader can change via command). 

But you'd need to edit it a lot as it's made for another server and won't just work for you as it is. Nevertheless i guess it's better than nothing so good luck :D

Link to comment
47 minutes ago, koragg said:

I don't think that there's a resource like that already made. However you can research this one and try to edit some parts so that the /invite nick system works. https://github.com/JarnoVgr/Mr.Green-MTA-Resources/tree/master/resources/[gameplay]/gcshop/teams

It also has a panel from which you can see all teams, people in your team, who created the team and who is the leader (leader can change via command). 

But you'd need to edit it a lot as it's made for another server and won't just work for you as it is. Nevertheless i guess it's better than nothing so good luck :D

Thanks, I'll try my best to edit it since I am still learning lua language from online tutorials ? If I'll need help, could I just post under this thread?

Link to comment

Okay, so I got this script from a friend of mine just now and I tried starting it.. no errors, nothing showing up in the console or when I'm in debug mode in-game. The script says the functions to bring up the menu would be either /clan or "H". Pressing those, absolutely nothing happens, still no errors, no nothing. Any way I could fix it? (Since I'm a total noob at github, this is all I could do in a few minutes haha)

https://gist.github.com/PatrickBoy/25a422888b6678255aa5d7a2a9796212

https://gist.github.com/PatrickBoy/6f835ef384815b427594b3db0387f829

https://gist.github.com/PatrickBoy/2de9e6d4ad087a93e371029202812f07

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...