mjau Posted July 16, 2011 Posted July 16, 2011 if i want to create almost a new team system but just to addtion to teams like it desent have to show up on scoreboard i want it only for restrivting vehicles and spawns couldsomone tell me the functions i need for that
JR10 Posted July 16, 2011 Posted July 16, 2011 I don't understand, you want to make a new teams system? Then make your own functions. here: MTA teams system functions: countPlayersInTeam createTeam getPlayersInTeam getPlayerTeam getTeamColor getTeamFriendlyFire getTeamFromName getTeamName setPlayerTeam setTeamColor setTeamFriendlyFire setTeamName
mjau Posted July 16, 2011 Author Posted July 16, 2011 no i mean a group system wich i can use to add people to groups and restrict spawn and cars to that group
mjau Posted July 16, 2011 Author Posted July 16, 2011 yeah i tought about it and i will do that cuz i dont wanna make a BIG script for this small things as restriciting stuff
JR10 Posted July 16, 2011 Posted July 16, 2011 Add new groups to the ACL, and make a new acl, add it to the group. Make a new right, like "general.canSpawnCar", and in script check if object have permission to that right.
mjau Posted July 17, 2011 Author Posted July 17, 2011 nahh not that i meant i crated a spawn panel and i want to restrict 2 spawns one for admins and another one for Army Do i have to create a acl group for army ?
Jaysds1 Posted July 17, 2011 Posted July 17, 2011 Even if u use Acl, you need to make a script to restrict the Skin/Spawns...
Castillo Posted July 18, 2011 Posted July 18, 2011 I would suggest scripting a system with databases or something, it's easier than editing the acl.
mjau Posted July 20, 2011 Author Posted July 20, 2011 ok another idea is it pissible to create a table with accountnames NOT nick and restrict the spawns then ? and how what functions ?
Jaysds1 Posted July 21, 2011 Posted July 21, 2011 oK, First of all, you have to get the person name/nick and see if there in the acl group (example: Army) using is object in acl... and output or open a gui saying that the person is not in the Army... not that simple but easy.
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