mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 01:38:52 +00:00
Check IsControlJustReleased() every frame
This commit is contained in:
+2
-2
@@ -998,7 +998,7 @@ end)
|
||||
-- Key Controls
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(10)
|
||||
Citizen.Wait(0)
|
||||
|
||||
if CurrentAction ~= nil then
|
||||
ESX.ShowHelpNotification(CurrentActionMsg)
|
||||
@@ -1072,7 +1072,7 @@ Citizen.CreateThread(function()
|
||||
end
|
||||
end)
|
||||
|
||||
AddEventHandler('esx:onPlayerDeath', function()
|
||||
AddEventHandler('esx:onPlayerDeath', function(data)
|
||||
IsDead = true
|
||||
end)
|
||||
|
||||
|
||||
+1
-1
@@ -81,5 +81,5 @@ Locales['br'] = {
|
||||
['you_used_body_kit'] = 'Você usou um ~b~Kit de corpo',
|
||||
['have_withdrawn'] = 'você retirou ~y~x%s~s~ ~b~%s~s~',
|
||||
['have_deposited'] = 'você depositou ~y~x%s~s~ ~b~%s~s~',
|
||||
['player_cannot_hold'] = 'you do ~r~not~w~ have enough ~y~free space~w~ in your inventory!',
|
||||
['player_cannot_hold'] = 'you do ~r~not~s~ have enough ~y~free space~s~ in your inventory!',
|
||||
}
|
||||
|
||||
+1
-1
@@ -81,5 +81,5 @@ Locales['en'] = {
|
||||
['you_used_body_kit'] = 'you used a ~b~Body Kit',
|
||||
['have_withdrawn'] = 'you have withdrawn ~y~x%s~s~ ~b~%s~s~',
|
||||
['have_deposited'] = 'you have deposited ~y~x%s~s~ ~b~%s~s~',
|
||||
['player_cannot_hold'] = 'you do ~r~not~w~ have enough ~y~free space~w~ in your inventory!',
|
||||
['player_cannot_hold'] = 'you do ~r~not~s~ have enough ~y~free space~s~ in your inventory!',
|
||||
}
|
||||
|
||||
+1
-1
@@ -81,5 +81,5 @@ Locales['fi'] = {
|
||||
['you_used_body_kit'] = 'sinä käytit yhden ~b~Korikitin',
|
||||
['have_withdrawn'] = 'sinä nostit ~y~x%s~s~ ~b~%s~s~',
|
||||
['have_deposited'] = 'sinä talletit ~y~x%s~s~ ~b~%s~s~',
|
||||
['player_cannot_hold'] = 'sinulla ~r~ei ole~w~ tarpeeksi ~y~vapaata tilaa~w~ repussasi!',
|
||||
['player_cannot_hold'] = 'sinulla ~r~ei ole~s~ tarpeeksi ~y~vapaata tilaa~s~ repussasi!',
|
||||
}
|
||||
|
||||
+1
-1
@@ -82,5 +82,5 @@ Locales['fr'] = {
|
||||
['you_used_body_kit'] = 'Vous avez utilisé un ~b~Kit de carosserie',
|
||||
['have_withdrawn'] = 'vous avez pris ~y~x%s~s~ ~b~%s~s~',
|
||||
['have_deposited'] = 'vous avez déposé ~y~x%s~s~ ~b~%s~s~',
|
||||
['player_cannot_hold'] = 'you do ~r~not~w~ have enough ~y~free space~w~ in your inventory!',
|
||||
['player_cannot_hold'] = 'you do ~r~not~s~ have enough ~y~free space~s~ in your inventory!',
|
||||
}
|
||||
|
||||
+1
-1
@@ -81,5 +81,5 @@ Locales['pl'] = {
|
||||
['you_used_body_kit'] = 'użyłeś ~b~częsci blacharskich',
|
||||
['have_withdrawn'] = 'wyciągnąłeś ~y~x%s~s~ ~b~%s~s~',
|
||||
['have_deposited'] = 'zdeponowałeś ~y~x%s~s~ ~b~%s~s~',
|
||||
['player_cannot_hold'] = '~r~nie masz~w~ wystarczająco ~y~wolnego~w~ miejsca w ekwipunku!',
|
||||
['player_cannot_hold'] = '~r~nie masz~s~ wystarczająco ~y~wolnego~s~ miejsca w ekwipunku!',
|
||||
}
|
||||
|
||||
+1
-1
@@ -81,5 +81,5 @@ Locales['sv'] = {
|
||||
['you_used_body_kit'] = 'du har använt en ~b~karossverktyg~s~',
|
||||
['have_withdrawn'] = 'du har tagit ut ~y~x%s~s~ ~b~%s~s~',
|
||||
['have_deposited'] = 'du har lagrat ~y~x%s~s~ ~b~%s~s~',
|
||||
['player_cannot_hold'] = 'du har ~r~inte~w~ tillräckligt med ~y~utrymme~w~ för att hålla det!',
|
||||
['player_cannot_hold'] = 'du har ~r~inte~s~ tillräckligt med ~y~utrymme~s~ för att hålla det!',
|
||||
}
|
||||
Reference in New Issue
Block a user