mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
work on __resource -> fxmanifest and RDR compatibility
This commit is contained in:
@@ -15,4 +15,7 @@ files {
|
||||
'html/res/futurastd-medium.woff',
|
||||
'html/res/futurastd-medium.ttf',
|
||||
'html/res/futurastd-medium.svg',
|
||||
}
|
||||
}
|
||||
|
||||
fx_version 'adamant'
|
||||
game 'gta5'
|
||||
@@ -8,7 +8,7 @@ Citizen.CreateThread(function()
|
||||
if IsControlPressed(0, 27)--[[ INPUT_PHONE ]] then
|
||||
if not listOn then
|
||||
local players = {}
|
||||
ptable = GetPlayers()
|
||||
local ptable = GetActivePlayers()
|
||||
for _, i in ipairs(ptable) do
|
||||
local wantedLevel = GetPlayerWantedLevel(i)
|
||||
r, g, b = GetPlayerRgbColour(i)
|
||||
@@ -35,18 +35,6 @@ Citizen.CreateThread(function()
|
||||
end
|
||||
end)
|
||||
|
||||
function GetPlayers()
|
||||
local players = {}
|
||||
|
||||
for i = 0, 31 do
|
||||
if NetworkIsPlayerActive(i) then
|
||||
table.insert(players, i)
|
||||
end
|
||||
end
|
||||
|
||||
return players
|
||||
end
|
||||
|
||||
function sanitize(txt)
|
||||
local replacements = {
|
||||
['&' ] = '&',
|
||||
|
||||
Reference in New Issue
Block a user