Added tonumber() checks, locale improvements, inventory improvements

This commit is contained in:
ElPumpo
2018-08-11 12:44:10 +02:00
parent 09584df613
commit b59c57c413
10 changed files with 135 additions and 156 deletions
+2 -2
View File
@@ -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