Skip to content

MegaITA/mega_nplayerselector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mega_nplayerselector

Lua library for RedM which allows to select players around you by clicking on the screen at their position.

🌠 Showcase

Showcase

👨‍💻 Usage

local NPlayerSelector = nil
TriggerEvent('mega_nplayerselector:load', function (data)
    NPlayerSelector = data
end)

NPlayerSelector:onPlayerSelected(function (data)
  -- do stuff...
  -- data = { id = ... }
  NPlayerSelector:deactivate()
end)

NPlayerSelector:setRange(5)
NPlayerSelector:activate()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published