mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
* ton of stuf * more * system resources: added fxmanifest meta tags * manager resources: added fxmanifest meta tags * gameplay resources: added fxmanifest meta tags * gamemode resources: added fxmanifest meta tags * gameplay example resources: reverted descriptions * test resources: added fxmanifest meta tags * smol fixes * added author email + minor changes * fixed manifest file trailing line inconsistencies * Update fxmanifest.lua * Update fxmanifest.lua * Update fxmanifest.lua * Update fxmanifest.lua * Update fxmanifest.lua * Update fxmanifest.lua * Update fxmanifest.lua * Update fxmanifest.lua * Update __resource.lua * additional phrasing/branding changes Co-authored-by: PLOKMJNB <PLOKMJNB@users.noreply.github.com> Co-authored-by: Danish Khan <61810778+PLOKMJNB@users.noreply.github.com> Co-authored-by: Technetium <65681715+technetium-cfx@users.noreply.github.com> Co-authored-by: blattersturm <peachypies@protonmail.ch>
37 lines
833 B
Lua
37 lines
833 B
Lua
-- This resource is part of the default Cfx.re asset pack (cfx-server-data)
|
|
-- Altering or recreating for local use only is strongly discouraged.
|
|
|
|
version '1.0.0'
|
|
author 'Cfx.re <root@cfx.re>'
|
|
description 'A basic resource for displaying player names.'
|
|
repository 'https://github.com/citizenfx/cfx-server-data'
|
|
|
|
-- add scripts
|
|
client_script 'playernames_api.lua'
|
|
server_script 'playernames_api.lua'
|
|
|
|
client_script 'playernames_cl.lua'
|
|
server_script 'playernames_sv.lua'
|
|
|
|
-- make exports
|
|
local exportList = {
|
|
'setComponentColor',
|
|
'setComponentAlpha',
|
|
'setComponentVisibility',
|
|
'setWantedLevel',
|
|
'setHealthBarColor',
|
|
'setNameTemplate'
|
|
}
|
|
|
|
exports(exportList)
|
|
server_exports(exportList)
|
|
|
|
-- add files
|
|
files {
|
|
'template/template.lua'
|
|
}
|
|
|
|
-- support the latest resource manifest
|
|
fx_version 'adamant'
|
|
game 'gta5'
|