Change Name [KyleD]

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Change Name [KyleD]

Post by greenie »

This plugin allows players to change their name without having to access the console.

This is especially useful in DoD and TFC, because in these games Valve disabled the name field in the multiplayer options with the hint that the Friends name should be altered instead, but this doesn't have an effect.

CVAR

amx_name_usage - Display usage info? 0 = no, 1 = yes

Credits:

Original plugin: KyleD
Translations: xPaw, Xalus, MmikiM, Ciio, xD_1991, papyrus_kn, Mandiii
Help & suggestions to get this plugin approved: ConnorMcLeod, fysiks

Version history:


v1.0 (KyleD)
- Original release
v1.1 (pizzahut)
- Bug fix: Global chat isn't blocked anymore.
- Change: A slash in front isn't necessary anymore, this is especially helpful for players who don't have an English keyboard layout.
v1.2
- Change: Made name change chat visible, so other players can see how it's done.
v1.3
- Players get a message when spawning, if the name is blank they get a name prompt.
v1.4
- Added multi-language support.
v1.5
- Changed trigger "name" to ".name".
v1.6
- Allowing any single character prefix as suggested by fysiks.
v1.6.4
- Bug fixes for single character prefix.
v1.7
Code taken from "multilingual.sma" for the following changes:
- Usage info is displayed 10s after joining instead of when respawning
and it's displayed only one time instead of two times.
- Added cvar to turn on / off usage info.
Other changes:
- Code optimisation
v1.7.1
- Moved the remove_task function as suggested.

Installation for multi-language support (required):

Put the file name.txt in directory/folder "addons\amxmodx\data\lang".

get plugin
get source
Post Reply

Return to “General Purpose”