move meta

This commit is contained in:
Linventif 2023-09-27 02:24:41 +02:00
parent d275eb7d6b
commit 8cc705cdc4
2 changed files with 17 additions and 14 deletions

View File

@ -2,20 +2,6 @@
// Functions
//
// Meta
local ply = FindMetaTable("Player")
function ply:gmInteGetTotalMoney()
// if darkrp
if DarkRP then
return self:getDarkRPVar("money")
end
// else
return 0
end
// Main
function gmInte.removePort(ip)
return string.Explode(":", ip)[1]
end
@ -69,6 +55,11 @@ local function getTriggerInfo(text)
return false
end
function gmInte.wsPlayerSay(data)
if !gmInte.config.syncChat then return end
gmInte.SendNet(1, data, nil)
end
function gmInte.playerSay(ply, text, team)
if (!gmInte.config.syncChat) then return end
local triggerInfo = getTriggerInfo(text)

View File

@ -0,0 +1,12 @@
// Meta
local ply = FindMetaTable("Player")
function ply:gmInteGetTotalMoney()
// if darkrp
if DarkRP then
return self:getDarkRPVar("money")
end
// else
return 0
end