Lyrokz / mojito_pedzones

API for spawning peds dynamically within a polyzone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mojito_pedzones

API for spawning peds dynamically within a polyzone

Example:

-- Create a ped

exports["mojito_pedzones"]:NewPed(`mp_m_freemode_01`, "Test", {
    coords = vector3(11.0, 3.0, 70.0),
    radius = 15.0,
    heading = 0.0,
    useZ = false,
    debug = false
}, {
    invincible = true,
    canMove = false,
    ignorePlayer = true
})

-- Destroy a ped

exports["mojito_pedzones"]:DestroyPed("Test")

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 Unported License.

About

API for spawning peds dynamically within a polyzone

License:Creative Commons Attribution Share Alike 4.0 International


Languages

Language:Lua 100.0%