NKHD Staff Blips
Allows Admins to see where the Players are
Easy Instalation
2 Already made Locales (English and Geman)
Easy change of the Command
Shows Player Rotation and Steam Name
NKHD Staff Blips
Allows Admins to see where the Players are
Easy Instalation
2 Already made Locales (English and Geman)
Easy change of the Command
Shows Player Rotation and Steam Name
Preview?
I currently have nobody on my Server, it is an easy Blip, that also shows the rotation of the Player
How frequently does it update?
It updates every Second
Is that changeable? So it updates every 5 seconds for example?
function showAllPlayerBlips()
Citizen.CreateThread(function()
while showBlips do
ESX.TriggerServerCallback('esx_blips:getPlayerInfo', function(playerInfo)
local playerId = PlayerId()
local serverId = GetPlayerServerId(playerId)
for id, info in pairs(playerInfo) do
if id ~= serverId then
if not playerBlips[id] then
local blip = AddBlipForCoord(info.coords.x, info.coords.y, info.coords.z)
SetBlipSprite(blip, 1)
ShowHeadingIndicatorOnBlip(blip, true)
SetBlipScale(blip, 0.85)
SetBlipColour(blip, 0)
SetBlipAsShortRange(blip, false)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString(info.name)
EndTextCommandSetBlipName(blip)
playerBlips[id] = blip
else
local blip = playerBlips[id]
SetBlipCoords(blip, info.coords.x, info.coords.y, info.coords.z)
SetBlipRotation(blip, math.floor(info.heading))
end
end
end
end)
Citizen.Wait(5000) -- Change here your time 5000 = 5 Seconds
end
removeAllPlayerBlips()
end)
end
This is in the Client.lua
Great! Im gonna test it! Great work!
Thanks, if anything isn’t working, just say it
Looks good! Great work!
Great!
Nice, maybe make a discord webhook log so team members see when someone turn on or off the blips.
V2 is going to be out Soon
Thank you very much!