Raised This Month: $ Target: $400
 0% 

[EXTENSION][CS:S]Name Change


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 12-26-2010 , 13:27   [EXTENSION][CS:S]Name Change
Reply With Quote #1

This extension allows you to change a players name [via SetClientInfo(client, "name", "This Is My New Name")]

Player name change events will NOT be fired at all as the function that calls the name change event is detoured and blocked. I will at some point soon create a plugin that will still fire the event as well as not block the function if the name change wasnt done by sm_rename command.

The forward for the plugins is already added.

PHP Code:
forward Action:OnChangePlayerName(clientString:name[], String:oldname[]) 
The extension by default will block the function!! This is so that only the extension is required to have the name change capability. If you dont want the function blocked in a plugin you MUST return Plugin_Continue.

Post any bugs and i will try to fix them as quickly as i can.

Source code is in the namechange_source.zip

Server owners ONLY need namechange.zip

THANKS:
psychonic for answering all of my questions and pointing out tf2 allowed server to make name changes.
Attached Files
File Type: zip namechange-src.zip (25.1 KB, 431 views)
File Type: zip namechange.zip (55.8 KB, 538 views)

Last edited by Dr!fter; 03-19-2013 at 13:29.
Dr!fter 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 15:50.


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