Raised This Month: $12 Target: $400
 3% 

amx_rename - adds tag to nick


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:          Approver:   v3x (159)
_KaszpiR_
AMX Mod X Beta Tester
Join Date: Feb 2004
Location: Warsaw, Poland
Old 04-18-2006 , 20:25   amx_rename - adds tag to nick
Reply With Quote #1

Plugin requested by Ian #amxmodx @quakenet
WARNING - not fully tested, use at your own risk.

Renames the given user by adding the defined tag in cvar.

Notice, this is server console command only - so it can be executed only by rcon, amx_rcon or in .cfg file or directly in the server console. It is not for use by admins (well unless they nkow rcon or got amx_rcon)

amx_rename STEAMID

use below cvars in amxx.cfg

amx_rename_tag "[NO.AC]" // definiton of the tag to use (defafault [NO.AC])
amx_rename_append "0" // 1 = append from right, 0 = append from left (default)

Example:
We got player Joe with Steamid STEAM_1:24567, and we use default settings of cvars, so after using
amx_rename STEAM_1:24567
he got name set to [NO.AC]Joe


// Developer comment
written longer than i should, and crappy
- no professional logging
- no translation
Attached Files
File Type: sma Get Plugin or Get Source (rename.sma - 4251 views - 2.0 KB)
__________________
= Ave Cesar, morituri Te salutant. = http://nvt.prv.pl = http://hlds.pl/
_KaszpiR_ is offline
Ian^
Junior Member
Join Date: Aug 2005
Old 04-18-2006 , 20:28  
Reply With Quote #2

Cheers m8, your a star much <3
Ian^ is offline
DeCePt!oN
Junior Member
Join Date: Apr 2006
Old 04-19-2006 , 10:54  
Reply With Quote #3

Buggy eh..?
DeCePt!oN is offline
Send a message via MSN to DeCePt!oN
FrontLine
Member
Join Date: Apr 2006
Old 04-19-2006 , 11:19  
Reply With Quote #4

Like where your common from, sorry don't have any mod points just 'now'.

FL.
__________________
FrontLine is offline
Send a message via MSN to FrontLine
ints
Junior Member
Join Date: Apr 2006
Old 10-12-2006 , 10:40   Re: amx_rename - adds tag to nick
Reply With Quote #5

can someone make it like if player joins to team t he get tag [A-team]nick
and if he joins team ct he gets tag [B-team]nick ?
ints is offline
z0nax
Member
Join Date: Mar 2006
Location: Denmark | In my dark roo
Old 10-12-2006 , 13:51   Re: amx_rename - adds tag to nick
Reply With Quote #6

Hm, what means "[NO.AC]"?
__________________
- ZoNaX^
http://forums.alliedmods.net/faq.php...b_board_search
Offering free help to install:
AMXx, Plugins, Adding Admins.
The most general things to know.
PM me.
z0nax is offline
Send a message via MSN to z0nax
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 03-16-2010 , 10:10   Re: amx_rename - adds tag to nick
Reply With Quote #7

it is possible to run this command amx_rename atutomaticamente every time a user enters a server.

because it is an inconvenience to run every time the same command line.
rx1983 is offline
Send a message via MSN to rx1983
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-16-2010 , 17:44   Re: amx_rename - adds tag to nick
Reply With Quote #8

Quote:
Originally Posted by rx1983 View Post
it is possible to run this command amx_rename atutomaticamente every time a user enters a server.

because it is an inconvenience to run every time the same command line.
You want everyone to have the same tag?
__________________
fysiks is offline
ditmesteam
Senior Member
Join Date: Oct 2009
Old 03-17-2010 , 07:05   Re: amx_rename - adds tag to nick
Reply With Quote #9

I want everyone to have the same tag
ditmesteam is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-17-2010 , 18:20   Re: amx_rename - adds tag to nick
Reply With Quote #10

Quote:
Originally Posted by ditmesteam View Post
I want everyone to have the same tag
Why do you post after peoples' requests and say you want the same thing? You do this a lot it seems.
__________________
fysiks is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:21.


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