Tag Permission Also Team
#1

How do I Make Tag Permission for my server like [DDs]Rockhopper Is my name but only admins can some with that name or if another player enters with [DDS] without permission then he should be kicked ..

And also a team permission If that player doesnt have permission then he cant choose that team
Reply
#2

Hopefully this helps you out, If it does +1 rep and Ill give ya one back

1. Place this code under where your players login and check if they are admin, if they are give them this.

2. CODE
Код:
new name[MAX_PLAYER_NAME+1], string[24+MAX_PLAYER_NAME+1];
    GetPlayerName(playerid, name, sizeof(name));
	format(string, sizeof(string), "[ADMIN]%s", name);
	SetPlayerName(playerid, string);
You do not need to join the server with [DDS], just set it that if your in this clan or an admin it changes your name
Reply
#3

And what about team ?
Reply
#4

Team is the same thing - Check if a player is in a team as I explained before and change the '[ADMIN]' to '[TEAM/CLAN]' simple.

+1 rep if I have helped ya out
Reply
#5

WAit im checking if its working Will Rep Dont worry
Reply
#6

Not working
Reply
#7

The code I gave you works fine, its how you implement it into your code.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)