We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey ! I give a little modification to the script for those who have a problem with ESX compatibilty.
So for the blips ->
config.lua
Blip = { coords = vector3(-435.57, -336.6, 34.91), <--- A changer pour adapter a votre hôpital sprite = 61, scale = 1.2, color = 2 },
client/main.lua
-- Create blips Citizen.CreateThread(function() for k,v in pairs(Config.Hospitals) do local blip = AddBlipForCoord(v.Blip.coords)
SetBlipSprite(blip, v.Blip.sprite) SetBlipScale(blip, v.Blip.scale) SetBlipColour(blip, v.Blip.color) SetBlipAsShortRange(blip, true) BeginTextCommandSetBlipName('STRING') AddTextComponentSubstringPlayerName(_U('blip_hospital')) EndTextCommandSetBlipName(blip) end
end)
locales/fr
['blip_hospital'] = '⛑ Hôpital', <------------- A modifier selon vos envies/besoin
Modification de la commande /revive pour ESX1.2 sans essential mod
server/server.lua -> remplacer de la ligne 223 a 233 par
ESX.RegisterCommand('revive', 'admin', function(xPlayer, args, showError) args.playerId.triggerEvent('esx_ambulancejob:revive') end, true, {help = _U('revive_help'), validate = true, arguments = { {name = 'playerId', help = 'The player id', type = 'player'} }})
Voilà , have fun !
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey ! I give a little modification to the script for those who have a problem with ESX compatibilty.
So for the blips ->
config.lua
client/main.lua
-- Create blips
Citizen.CreateThread(function()
for k,v in pairs(Config.Hospitals) do
local blip = AddBlipForCoord(v.Blip.coords)
end)
locales/fr
['blip_hospital'] = '⛑ Hôpital', <------------- A modifier selon vos envies/besoin
Modification de la commande /revive pour ESX1.2 sans essential mod
server/server.lua -> remplacer de la ligne 223 a 233 par
ESX.RegisterCommand('revive', 'admin', function(xPlayer, args, showError)
args.playerId.triggerEvent('esx_ambulancejob:revive')
end, true, {help = _U('revive_help'), validate = true, arguments = {
{name = 'playerId', help = 'The player id', type = 'player'}
}})
Voilà , have fun !
The text was updated successfully, but these errors were encountered: