DirkScripts
luaCore.Objects.Register("myObjectIdentifier", { Type = "ped", --## "ped", "object", "vehicle" Model = "a_m_beachman", --## Model Name Hash = -12393292, --## OPTIONAL : Use hash instead? Pos = vector4(0,0,0,0), RenderDist = 50.0, Network = true, --## OPTIONAL: Can be networked, dont give all peds a networked ped to spawn }, function(ret, data) --## data = {entity:thisEntity} if ret == "despawn" then --## Triggers on despawn, when leaving render dist elseif ret == "spawn" then --## Triggers when spawned end end)
Will delete this ped and also stop it from being spawned within range
luaCore.Objects.Remove("myObjectidentifier")

Powered by
All you need for your FiveM server
Copyright Β© 2026 DirkScripts.
Not affiliated with or endorsed by Rockstar North, Take-Two Interactive, or any other rights holders. FiveM is a copyright and registered trademark of Take-Two Interactive Software, Inc.
Our checkout system is provided by Tebex Limited, who manage payment processing, product delivery, and billing support. Prices shown in currencies other than GBP are approximate conversions updated daily. All purchases are processed in GBP, so the final amount charged may vary depending on your bank or payment providerβs exchange rate.
Daily dig available!
Hey you, you have free digs waiting