screedix Posted April 29, 2017 Share Posted April 29, 2017 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
NeXuS™ Posted April 30, 2017 Share Posted April 30, 2017 Do you want a panel or just commands? Link to comment
screedix Posted April 30, 2017 Author Share Posted April 30, 2017 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
koragg Posted May 1, 2017 Share Posted May 1, 2017 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 Link to comment
screedix Posted May 1, 2017 Author Share Posted May 1, 2017 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 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
koragg Posted May 1, 2017 Share Posted May 1, 2017 Best way to learn is by trying, not watching Sure you can post here but I'm pretty sure that I won't be able to help you with it I've had a look and it's a lot of work plus I'm really bad with SQLite and MySQL. Link to comment
screedix Posted May 1, 2017 Author Share Posted May 1, 2017 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
NeXuS™ Posted May 1, 2017 Share Posted May 1, 2017 I'll create an advanced system in like 2 hours, if you can wait that time, you'll see what I got. Link to comment
screedix Posted May 1, 2017 Author Share Posted May 1, 2017 Just now, NeXuS™ said: I'll create an advanced system in like 2 hours, if you can wait that time, you'll see what I got. Yeah, that'll definitely be worth the time to wait for ? Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now