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

amx_rename - adds tag to nick


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 - 4263 views - 2.0 KB)
__________________
= Ave Cesar, morituri Te salutant. = http://nvt.prv.pl = http://hlds.pl/
_KaszpiR_ is offline
 



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 06:46.


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