Update sv_commands.lua

This commit is contained in:
[TW]Rain_Bob 2023-10-07 21:16:54 +08:00 committed by GitHub
parent b9435883a7
commit 416ad75a77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,10 +72,10 @@ local function Flood_PayCash(ply,txt)
ct:Send(ply)
end
if(ply:CanAfford(tonumber(c[3])))then
ct:AddText("[Flood] ", Color(158, 49, 49, 255))
ct:AddText("[Flood] ", Color(132, 199, 29, 255))
ct:AddText("You gave "..p:Nick().." "..tonumber(c[3]).."$!")
ct:Send(ply)
ct:AddText("[Flood] ", Color(158, 49, 49, 255))
ct:AddText("[Flood] ", Color(132, 199, 29, 255))
ct:AddText(ply:Nick().." gave "..'you'.." "..tonumber(c[3]).."$!")
ct:Send(p)
ply:SubCash(tonumber(c[3]))