SpoofPed
Enable or disable server-side ped spoofing. When enabled, queues a one-time ped change; spoof stays active until disabled.
Syntax
Susano.SpoofPed(pedHash, spoofServer) -> boolean
Parameters
pedHash (number|uint32): Target ped model hash.
spoofServer (boolean):
true: enable server spoof and queue ped change topedHash.false: disable server spoof. No model change queued.
Return(s)
boolean: true on success. Throws Lua error on failure.
Behavior
Call with (hash, true) to switch ped and mark spoof as server-driven. The spoof persists across ticks until you disable it.
Call with (_, false) to turn spoof off. Does not modify the current model.
Example(s)
-- Enable spoof as MP_M_Freemode
local ok = Susano.SpoofPed(0x705E61F2, true)
-- Later: disable server spoof, keep current ped as-is
local ok2 = Susano.SpoofPed(0, false)