forked from TeamUlysses/ulx
Tasks left from merge
This commit is contained in:
parent
8911523608
commit
60b0d90002
@ -1,6 +1,8 @@
|
||||
# ULX Changelog
|
||||
|
||||
## v3.74 - *(00/00/00)*
|
||||
* [CHANGE] Muted players can no longer use psay (thanks, PixeLInc).
|
||||
* [FIX] Don't respawn when done spectating if the user was not alive to start with (Thanks, PixeLInc).
|
||||
|
||||
## v3.73 - *(03/21/17)*
|
||||
* [CHANGE] Setting an ULX cvar now no longer needless routes the cvar change through the console.
|
||||
|
@ -3,11 +3,11 @@ CATEGORY_NAME = "Chat"
|
||||
|
||||
------------------------------ Psay ------------------------------
|
||||
function ulx.psay( calling_ply, target_ply, message )
|
||||
if calling_ply:GetNWBool('ulx_muted', false) then
|
||||
ULib.tsayError( calling_ply, "You are muted, and therefore cannot speak!", true )
|
||||
if calling_ply:GetNWBool( "ulx_muted", false ) then
|
||||
ULib.tsayError( calling_ply, "You are muted, and therefore cannot speak! Use asay for admin chat if urgent.", true )
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
ulx.fancyLog( { target_ply, calling_ply }, "#P to #P: " .. message, calling_ply, target_ply )
|
||||
end
|
||||
local psay = ulx.command( CATEGORY_NAME, "ulx psay", ulx.psay, "!p", true )
|
||||
|
Loading…
Reference in New Issue
Block a user