Tasks left from merge

This commit is contained in:
Nayruden 2017-11-05 13:56:18 -06:00
parent 8911523608
commit 60b0d90002
3 changed files with 6 additions and 4 deletions

View File

@ -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.

View File

@ -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 )

View File

@ -1 +1 @@
1490128751
1509911778