mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 17:17:33 +00:00
fix: ply verif
This commit is contained in:
parent
513920baa0
commit
e7210a5424
|
@ -13,7 +13,7 @@ end
|
|||
//
|
||||
|
||||
function gmInte.playerChangeName(ply, oldName, newName)
|
||||
if (!gmInte.plyValid(ply)) then return end
|
||||
if (!ply:IsValid() || !ply:IsPlayer(ply)) then return end
|
||||
|
||||
gmInte.http.post("/players/" .. ply:SteamID64() .. "/name",
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user