Name Lock

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

Name Lock

Post by greenie »

This plugin allows admins to prevent players from changing their names.
It also allows a cvar to be changed, which will lock a players name if it is above a certain character limit.

CMDS:

amx_namel <player> <name> - redefines a players name, checking its length.

amx_lock_name <player> - locks this clients name. They cannot change it.

amx_unlock_name <player> - unlocks this clients name. They can change it.

DEFINITIONS:
ADMIN_NAMELOCK_LEVEL - defines admin with name lock level. Default is ADMIN_LEVEL_B

CVARS:
amx_namelock - 1 for the plugin to run, 0 for it to stop functioning

amx_namelock_maxlen - defines an upper limit for how many characters a clients name can be. Default is the upper limit of names in the HL1 engine.

Enjoy.

This plugin commisioned by: UFC Rage

plugin
source
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œAdmin Commands”