how to make tag name for admin
#1

i want to make tag to admin

im using luxadmin sys,

pls how to make tag [GM] to my admins,,,

only for admin, if players use tag [GM] they will be kicked, pls tell me

pls pls pls
Reply
#2

https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
https://sampwiki.blast.hk/wiki/Create3DTextLabel

From SA-MP Wiki

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

* Delete3DTextLabel: Delete a 3D text label.

* Attach3DTextLabelToPlayer: Attach a 3D text label to a player.

* Attach3DTextLabelToVehicle: Attach a 3D text label to a vehicle.

* Update3DTextLabelText: Change the text of a 3D text label.


* CreatePlayer3DTextLabel: Create A 3D text label for one player.

* DeletePlayer3DTextLabel: Delete a player's 3D text label.

* UpdatePlayer3DTextLabelText: Change the text of a player's 3D text label.
Reply
#3

AdminLabel[playerid] = Create3DTextLabel("Admin on duty\n Do NOT attack!",0xE60000FF,20.0,40.0,50.0,40.0,0,1);

Like this?
Reply
#4

i mean tag,
like [GM]admin, [GM]Xander..

can u help me
Reply
#5

Well this might work :

pawn Код:
new aname[24];
new string[256];
GetPlayerName(playerid,aname,sizeof(aname));
format(string,sizeof(string),"[GM]%s",aname);
SetPlayerName(playerid,string);
@ColdIce: I belive that is ripped of my really small scirpt I have made for you!
Reply
#6

Nope
Reply
#7

Quote:
Originally Posted by Berlovan
Посмотреть сообщение
Well this might work :

pawn Код:
new aname[24];
new string[256];
GetPlayerName(playerid,aname,sizeof(aname));
format(string,sizeof(string),"[GM]%s",aname);
SetPlayerName(playerid,string);
@ColdIce: I belive that is ripped of my really small scirpt I have made for you!
how to kick player who used [GM] if player is not admin team,
Reply
#8

if you use lux admin search for accinfo.
Код:
new aname[24];
new string[256];
GetPlayerName(playerid,aname,sizeof(aname));
format(string,sizeof(string),"[GM]%s",aname);
if (AccInfo[playerid][Level] >= 0)
Ban(playerid);
SetPlayerName(playerid,string);
Reply
#9

i think to helped you if
have errors post them to check and to fix.
enjoy.!
Reply
#10

Quote:
Originally Posted by AlternativeDC
Посмотреть сообщение
if you use lux admin search for accinfo.
Код:
new aname[24];
new string[256];
GetPlayerName(playerid,aname,sizeof(aname));
format(string,sizeof(string),"[GM]%s",aname);
if (AccInfo[playerid][Level] >= 0)
Ban(playerid);
SetPlayerName(playerid,string);
i mean if a normal player come in to server with [GM] tag, they will get kicked,

only admin can login to server with [GM] tag

do u understand,
sorry, but i need ur help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)