Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: którego
1. Dziwny przypadek, którego nie rozumem
Witajcie chcia?bym si? zapyta? co tutaj jest ?le zrobi?em sobie w systemie pojazd?w neony
[lua]
if getElementData(veh, 'vehicle:neony') == "Brak" then
elseif getElementData(veh,'vehicle:neony') == 'CzerwoneCale' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=true, rear=true, color={255, 0, 0}}) -- ca?e czerwone
elseif getElementData(veh,'vehicle:neony') == 'CzerwoneBoki' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=false, rear=false, color={255, 0, 0}}) -- boki czerwone
elseif getElementData(veh,'vehicle:neony') == 'ZieloneCale' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=true, rear=true, color={0, 255, 0}}) -- zieloe ca?e
elseif getElementData(veh,'vehicle:neony') == 'ZieloneBoki' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=false, rear=false, color={0, 255, 0}}) -- zielone boki
elseif getElementData(veh,'vehicle:neony') == 'RozoweCale' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=true, rear=true, color={255, 0, 255}}) -- r??owe ca?e
elseif getElementData(veh,'vehicle:neony') == 'RozoweBoki' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=false, rear=false, color={255, 0, 255}}) -- r??owe boki
elseif getElementData(veh,'vehicle:neony') == 'BialeCale' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=true, rear=true, color={255, 255, 255}}) -- ...
2. jak pobrać pojazd do którego wsiadam
jak w temacie, nie chc? argumentu z funkcji tylko r?czne pobieranie, do zmiennych bla bla

[ Dodano: 2016-05-01, 20:38 ]
local theVehicle = getElementModel(source)?
3. Plik bez którego gracz dostaje crash'a
Witam. Wiem, ?e takie co? jest mo?liwe, tylko jak to zrobi?, a chodzi mi o takie co?.
Chcia?bym zrobi? takie co?, ?e je?eli jaki? gracz by wszed? do mojego interioru to dosta? by crash'a, a osoby maj?ce ten plik nie dostawaliby crash'a. Nie wiem jak to nazwa?, wi?c opisa?em. Chyba wiecie o co mi mniej wi?cej chodzi.

Mo?e kto? jest w stanie mi pom?c? Pozdrawiam. ;)