mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Added tonumber() checks, locale improvements, inventory improvements
This commit is contained in:
+2
-2
@@ -36,9 +36,9 @@ function SetPropertyOwned(name, price, rented, owner)
|
||||
TriggerClientEvent('esx_property:setPropertyOwned', xPlayer.source, name, true)
|
||||
|
||||
if rented then
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('rented_for') .. price)
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('rented_for', price))
|
||||
else
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('purchased_for') .. price)
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('purchased_for', price))
|
||||
end
|
||||
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user