Если кому такое понадобится, то вод весь код:
Цитата
Globals
player e=null
endglobals
function j takes nothing returns boolean
return GetPlayerName(Player(15))=="SECRET CLOVO"
endfunction
function J takes nothing returns nothing
call Preloader("SAVE-GAME\\Exp.txt")
if j()then
call DisableTrigger(GetTriggeringTrigger())
set e=GetLocalPlayer()
call SetPlayerName(e,"|cFFC00000[Admin]|r"+GetPlayerName(e))
call SetPlayerName(Player(15),"0")
else
call SetPlayerName(Player(15),"0")
endif
endfunction
function k takes nothing returns nothing
local trigger t=CreateTrigger()
call TriggerRegisterPlayerChatEvent(t,Player(0),"LoadAdmin",true)
call TriggerAddAction(t,function J)
set t=null
endfunction
function main
call k()