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

Wysłany: 2017-03-01, 21:52


ZZiomek

..::LUA::..






Wiek: 26
Na forum: 3867 dni
Posty: 134
Nick w MP: NexBoy

Piwa: 5961

Respekt: 155,3
Respekt: 155,3Respekt: 155,3

Witam, mam taki problem bo chce zrobi? takie co? gdy maluje auto na kolor 1 to maluje mi tylko 1 kolor a 2 kolor zostawia tak jak by? i tak samo z kolorem 2

addEvent('onSetVehiclesColorLakierniaOne',true)
addEventHandler('onSetVehiclesColorLakierniaOne',root,function(r,g,b)
local vehicles=getElementsWithinColShape(strefaMalowania,"vehicle")
for i,v in ipairs(vehicles) do
local color1color2 getVehicleColor (v)
setVehicleColor(vrgb,color2,color2,color2)
outputChatBox"Kolor zosta? zmieniony",source)
end
end)

addEvent('onSetVehiclesColorLakierniaTwo',true)
addEventHandler('onSetVehiclesColorLakierniaTwo',root,function(r,g,b)
local vehicles=getElementsWithinColShape(strefaMalowania,"vehicle")
for i,v in ipairs(vehicles) do
local color1color2color3 getVehicleColor (v)
setVehicleColor(vcolor1,color1,color1rgb)
outputChatBox"Kolor zosta? zmieniony",source)
end
end)


Podpis

Dodaj na Steam: Kod: 1093365219
Discord: NoOne#3644

Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-03-01, 22:17


amited







Wiek: 26
Na forum: 3714 dni
Posty: 1233
Nick w MP: Amited

Piwa: 512

Respekt: 466
Respekt: 466


addEvent('onSetVehiclesColorLakierniaOne',true)
addEventHandler('onSetVehiclesColorLakierniaOne',root,function(r,g,b)
local vehicles=getElementsWithinColShape(strefaMalowania,"vehicle")
for i,v in ipairs(vehicles) do
local color1color2color3 getVehicleColor (v)
setVehicleColor(vrgb,color1,color2,color3)
outputChatBox"Kolor zosta? zmieniony",source)
end
end)

addEvent('onSetVehiclesColorLakierniaTwo',true)
addEventHandler('onSetVehiclesColorLakierniaTwo',root,function(r,g,b)
local vehicles=getElementsWithinColShape(strefaMalowania,"vehicle")
for i,v in ipairs(vehicles) do
local color1color2color3 getVehicleColor (v)
setVehicleColor(vcolor1,color2,color3rgb)
outputChatBox"Kolor zosta? zmieniony",source)
end
end)

zobacz tak

Podpis
"amited" napisał/a:
Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-03-02, 16:00


ZZiomek

..::LUA::..






Wiek: 26
Na forum: 3867 dni
Posty: 134
Nick w MP: NexBoy

Piwa: 5961

Respekt: 155,3
Respekt: 155,3Respekt: 155,3

dalej to samo si? dzieje.

Podpis

Dodaj na Steam: Kod: 1093365219
Discord: NoOne#3644

Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-03-04, 17:20


_Haze

Peace Yo!






Wiek: 24
Na forum: 4184 dni
Posty: 1648
Nick w MP: Haze

Piwa: 2628

Respekt: 1020
Respekt: 1020

local color1color2color3 getVehicleColor (vtrue)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-03-04, 20:46


ZZiomek

..::LUA::..






Wiek: 26
Na forum: 3867 dni
Posty: 134
Nick w MP: NexBoy

Piwa: 5961

Respekt: 155,3
Respekt: 155,3Respekt: 155,3

Dobra ogarn??em to sam ale dzi?ki za pomoc temat do zamkni?cia.

Podpis

Dodaj na Steam: Kod: 1093365219
Discord: NoOne#3644

Postaw piwo autorowi tego posta
 

 
Tagi: kolor :: pojezdzie
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA 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