Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This is the Part where the Message is triggered (CurrentActionMsg = ('press_menu'))
- Citizen.CreateThread(function()
- while true do
- Citizen.Wait(0)
- DrawMarker(1, coords.x, coords.y, coords.z, 0, 0, 0, 0, 0, 0, size, size, height, 0, 155, 255, 155, 0, 0, 2, 0, 0, 0, 0)
- if GetDistanceBetweenCoords(GetEntityCoords(GetPlayerPed(-1)), coords.x, coords.y, coords.z, true) < size then
- CurrentActionMsg = ('press_menu')
- if (IsControlJustPressed(1, Key)) then
- TriggerEvent("TrafficAlert")
- end
- end
- end
- end)
- So this is my config.lua:
- Config = {}
- Config.Locale = 'en'
- and here is my en.lua:
- Locales['en'] = {
- ['press_menu'] = 'Drücke ~INPUT_CONTEXT~ um eine kostenlose Werbung zu schicken!'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement