Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2017-07-19, 17:50


DaVeCS

Mapper






Wiek: 31
Na forum: 3386 dni
Posty: 193
Nick w MP: DaVe

Piwa: 59

Respekt: 70,5

Witajcie, ot?? mam licznik pr?dko?ci i powinien on pokazywa? uid pojazdu a pokazuje ci?gle "0"


pomo?e kto??
function speed()
        if isPedInVehicle (localPlayer) == false then return end
            sxsysz getElementVelocity(getPedOccupiedVehicle(localPlayer))
        kmhs math.floor(((sx^sy^sz^2)^(0.5))*180)
        veh getPedOccupiedVehicle(localPlayer)
        local litry getElementData(veh,"vehicle:fuel") or 0
        local przeb getElementData(veh,"vehicle:mileage") or "Popsute"
        local id getElementData(veh,"vehicle:uid") or 0


Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-07-19, 17:58


BoCzKu

Mapper & Lua






Wiek: 24
Na forum: 3465 dni
Posty: 87
Nick w MP: BoKu

Piwa: 331

Respekt: 135
Respekt: 135

Z jakiego GM korzystasz ?

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-07-19, 18:33


DaVeCS

Mapper






Wiek: 31
Na forum: 3386 dni
Posty: 193
Nick w MP: DaVe

Piwa: 59

Respekt: 70,5

ITS

Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-07-19, 18:48


BoCzKu

Mapper & Lua






Wiek: 24
Na forum: 3465 dni
Posty: 87
Nick w MP: BoKu

Piwa: 331

Respekt: 135
Respekt: 135

function speed()
        if isPedInVehicle (localPlayer) == false then return end
            sxsysz getElementVelocity(getPedOccupiedVehicle(localPlayer))
        kmhs math.floor(((sx^sy^sz^2)^(0.5))*180)
        veh getPedOccupiedVehicle(localPlayer)
        local litry getElementData(veh,"vehicle:fuel") or 0
        local przeb getElementData(veh,"vehicle:mileage") or "Popsute"
        local id getElementData(veh,"vehicle:id") or "Respiony'

Licz? na respekt oraz Zimne Piwko ;)

Podpis
Postaw piwo autorowi tego posta
 

 
Tagi: licznik :: prędkości
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA Odpowiedz do tematu

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku