Skip to content

API for spawning peds dynamically within a polyzone

License

Notifications You must be signed in to change notification settings

renzuzu/mojito_pedzones

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%