Skip to content

fivemland/fl_nametag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FiveM Land Nametag

https://github.com/fivemland/fl_nametag/blob/main/screenshots/Screenshot.png https://github.com/fivemland/fl_nametag/blob/main/screenshots/Screenshot2.png https://github.com/fivemland/fl_nametag/blob/main/screenshots/Screenshot3.png

Commands

  • /togmyname - own name display on / off
  • /changename - Change player In-Game nick
  • /names - toggle names visibility

Dependencies

Optional

Exports

Client

setMyNameVisible

  • state: boolean
  • Sets my name visible state
exports.fl_nametag:setMyNameVisible(state)

getMyNameVisible

  • return boolean
local myName = exports.fl_nametag:getMyNameVisible()

setNamesVisible

  • set nametag visible
exports.fl_nametag:setNamesVisible(state)

isNamesVisible

  • return: boolean
local namesVisible = exports.fl_nametag:isNamesVisible()

Server

getPlayerFirstJoin
  • player: serverId
  • return: unix timestamp
local firstJoin = exports.fl_nametag:getPlayerFirstJoin(player)