View Single Post
Author Message
eyal282
Veteran Member
Join Date: Aug 2011
Old 06-09-2018 , 11:05   [ANY] Change your name ( sm_name )
Reply With Quote #1

NOTE: The plugin will malfunction on ANY game that doesn't enforce the console command "name" to be equal to your steam name ( Works in CS:GO and L4D2 ). Doesn't break the plugin though.

Commands:

!name <new name> - Changes your name to the name you write after !name. For example: "!name Epic Guy" will change your name to Epic Guy. If you only write !name without anything after your name will change to your steam name.

!oname <name/#userid> - Finds a target's steam name.

setinfo secretname "New Name" - Next time you connect to the server, your name will be "New Name". This console command works on any server and even if you aren't inside a server.

Bugs:

Cheaters can give a wrong name on !oname. If a player sends a wrong name on !oname, he'll likely be VAC banned for doing so.
Attached Files
File Type: sp Get Plugin or Get Source (sm_name.sp - 1221 views - 3.8 KB)
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334

Last edited by eyal282; 01-26-2019 at 16:13.
eyal282 is offline