Wysłany: 2014-08-09, 02:09
kubak14
Wiek: 24 Na forum: 5205 dni Posty: 119
Nick w MP: Heavy
Piwa : 149
Witam, zrobi?em skrypt ale pokazuje w hp np 83.1231321313%
zamiast 83%
Kod:
guiSetText ( labelHealth , "Stan Auta: " .. getElementHealth ( tvehicle ) )
if ( isVehicleDamageProof ( tvehicle ) == true ) then
guiSetVisible ( infinite , true )
guiSetText ( labelHealth , "Stan Auta: " )
else
guiSetVisible ( infinite , false )
guiSetText ( labelHealth , "Stan Auta: (" .. getElementHealth ( tvehicle ) / 10 .. "%)" )
end
Wysłany: 2014-08-09, 02:27
MeeShuffle
Programista/Grafik
Wiek: 32 Na forum: 4395 dni Posty: 2758
Nick w MP: Shuffle
Piwa : 8575
guiSetText ( labelHealth , "Stan Auta: " .. math . floor ( getElementHealth ( tvehicle )) )
if ( isVehicleDamageProof ( tvehicle ) == true ) then
guiSetVisible ( infinite , true )
guiSetText ( labelHealth , "Stan Auta: " )
else
guiSetVisible ( infinite , false )
guiSetText ( labelHealth , "Stan Auta: (" .. math . floor ( getElementHealth ( tvehicle )) / 10 .. "%)" )
end [
Tagi: nie :: potrzebne :: cyfry
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: