AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help on add name tags to each team (https://forums.alliedmods.net/showthread.php?t=54740)

Juba_PornBorn 05-02-2007 15:44

Help on add name tags to each team
 
So I need or help or a tutorial that lets me add a tag before the players name.

It's for each team. And preferebly that it can be set by say:/tag_ct [ct_tag] or say:/tag_t [t_tag]

Zenith77 05-02-2007 15:53

Re: Help on add name tags to each team
 
Code:
new name[32]; new newName[32]; new tag[] = "OMG WTF m8". get_user_name(id, name, 31); format(newName, 31, "%s -- %s", tag, name); // you can use set info to. client_cmd(id, "name ^"%s^"", newName);

Juba_PornBorn 05-02-2007 16:00

Re: Help on add name tags to each team
 
thanks zenith you are good for something after all!:up: "OMG WTF m8"

Brad 05-02-2007 20:03

Re: Help on add name tags to each team
 
If I'm not mistaken, using set info will reset their name when they leave whereas using name makes the change stay even after they've left the server.

I'd appreciate it if someone would correct me if I'm wrong or confirm it.

teame06 05-02-2007 20:37

Re: Help on add name tags to each team
 
Quote:

Originally Posted by Brad (Post 472707)
If I'm not mistaken, using set info will reset their name when they leave whereas using name makes the change stay even after they've left the server.

I'd appreciate it if someone would correct me if I'm wrong or confirm it.

That correct

Juba_PornBorn 05-02-2007 21:20

Re: Help on add name tags to each team
 
so I would I do it correctly and with tags putten on say command?

Brad 05-03-2007 08:48

Re: Help on add name tags to each team
 
http://www.amxmodx.org/funcwiki.php?...info&go=search

Zenith77 05-03-2007 11:43

Re: Help on add name tags to each team
 
Thanks for that correction Brad ^^.


All times are GMT -4. The time now is 06:37.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.