[Any] Target Name Changers
This plugin has two simple functions:
CVARS
The plugin requires the updater.inc and ddhoward_updater.inc includes. As such, it does not compile here on the forums. You can either download and install the attached SMX, or download the SP and compile it yourself. Downloads: If you like what you see here, please consider donating~ http://www.paypalobjects.com/en_US/i..._donate_SM.gif |
Re: [Any] Name Change Info
amazing idea thanks for this!
|
Re: [Any] Name Change Info
Code:
hcvar_version = CreateConVar("sm_namechangeinfo_version", PLUGIN_VERSION, "Friendly Mode Plugin Version", FCVAR_DONTRECORD|FCVAR_NOTIFY|FCVAR_CHEAT|FCVAR_PLUGIN); Beside that, plugin looks ok (and good idea to give intel @ name changing, rather than preventing/kicking the client). Approved. |
Re: [Any] Name Change Info
Uploading new version 13.0705.2. It will shortly replace the version in the first post, and has been pushed to the Updater server. Changes are:
Please let me know if you run into any issues. Please also consider installing Updater if you haven't already! |
Re: [Any] Name Change Info
This is brilliant.
|
Re: [Any] Name Change Info
Updated to 13.0705.3. Previous version had a dumb oversight where sometimes @namechanger would target client 0.
|
Re: [Any] Name Change Info
Hi again,
Be careful when using Code:
decl String:steamID[20], String:ipAddress[16], String:oldName[33], String:newName[33]; Red |
Re: [Any] Name Change Info
Like this? I'm assuming that I wouldn't have to make any other changes to the code.
PHP Code:
|
Re: [Any] Name Change Info
Updating to version 13.0705.4. Changes include:
|
Re: [Any] Name Change Info
Code:
hcvar_destination = CreateConVar("sm_namechangeinfo_destination", "1", "(1/2/3) Where should the information be printed to? 0 = disabled, 1 = Console, 2 = Chat and Console", FCVAR_PLUGIN); But It would be easy for you to do a 0/1/2/3 mod. Using bit operation '&' rather than '==' (and you already checking both; you could use else if; if you don't want to use '&' that is). That way someone could print to chat directly (which I'm surprise you aren't offering; you plugin says 'any' and I believe not all game display name change in chat or not) |
All times are GMT -4. The time now is 11:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.