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

Wysłany: 2020-08-24, 19:48


Rumper

Majster od pysa






Wiek: 15
Na forum: 3315 dni
Posty: 231
Nick w MP: Rumper

Piwa: 592

Respekt: 180
Respekt: 180Respekt: 180

Ostrzeżeń: 20%
Witam, mam taki problem ?e chcem zrobi? ?e je?li auto ma mniej ni? 500 hp to si? powinien attachowa? marker do niego.Pr?bowa?em zrobi? lecz nie wiem czemu mi nie dzia?a.
local marker createMarker (-1753.71,885.03,295.88-1"cylinder"1.502550255)
local auto getPedOccupiedVehicle(localPlayer)
if auto then 
local hp =  getElementHealth(auto)
if hp<500 then 
    attachElements (markerauto000)
end
   end


Podpis
Elo benc
Postaw piwo autorowi tego posta
 

 
Wysłany: 2020-08-24, 19:50


Karolowatyy







Wiek: 25
Na forum: 3286 dni
Posty: 117
Nick w MP: Ripley

Piwa: 826

Respekt: 90

Ostrzeżeń: 20%
B??dy db3?

EDIT:

Zamie? to:

local marker createMarker (-1753.71,885.03,295.88-1"cylinder"1.502550255)
local auto getPedOccupiedVehicle(localPlayer)
if auto then 
local hp =  getElementHealth(auto)
if hp<500 then 
    attachElements (markerauto000)
end
   end


Na to:


local marker createMarker (000"cylinder"1.502550255)
local auto getPedOccupiedVehicle(localPlayer)
if auto then 
local hp =  getElementHealth(auto)
if hp<500 then 
    attachElements (markerauto000)
end
   end


Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
Rumper
Wysłany: 2020-08-24, 19:59


Rumper

Majster od pysa






Wiek: 15
Na forum: 3315 dni
Posty: 231
Nick w MP: Rumper

Piwa: 592

Respekt: 180
Respekt: 180Respekt: 180

Ostrzeżeń: 20%
"Karolowatyy" napisał/a:

B??dy db3?

EDIT:

Zamie? to:

local marker createMarker (-1753.71,885.03,295.88-1"cylinder"1.502550255)
local auto getPedOccupiedVehicle(localPlayer)
if auto then 
local hp =  getElementHealth(auto)
if hp<500 then 
    attachElements (markerauto000)
end
   end


Na to:


local marker createMarker (000"cylinder"1.502550255)
local auto getPedOccupiedVehicle(localPlayer)
if auto then 
local hp =  getElementHealth(auto)
if hp<500 then 
    attachElements (markerauto000)
end
   end

Dzia?a tylko gdy zresetuje skrypt a chcem ?eby odrazu dawa?o, brak db3

Podpis
Elo benc
Postaw piwo autorowi tego posta
 

 
Wysłany: 2020-08-24, 20:07












POST ZOSTAŁ UKRYTY Z POWODU ZŁAMANIA REG. LUB OCZEKUJE NA AKCEPTACJĘ


 

 
Tagi: getelementhealth
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » getElementHealth Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

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