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: colsphere
1. Ustawienie element daty dla pojazdu w colsphere
Mam taki kod:


--tworzenie colsphere
local colshape 
createColSphere(-138.174851079.5855719.152915)

addEventHandler("onClientGUIClick"resourceRoot, function()
    
local pojazdy=getElementsWithinColShape(colshape,"vehicle")
    if 
source == RH1.btncloseactive then
        guiSetVisible
(RH1.winfalse)
    elseif 
source == RH1.btnclosetxtactive then
        guiSetVisible
(RH1.winfalse)
    elseif 
source == RH1.btnmntactive then
        setElementData
(pojazdy"RH1MOUNTED"true)
    elseif 
source == RH1.btnmnttxtactive then
        setElementData
(pojazdy"RH1MOUNTED"true)
    elseif 
source == RH1.btndemntactive then
        setElementData
(pojazdy"RH1MOUNTED"false)
    elseif 
source == RH1.btndemnttxtactive then
        setElementData
(pojazdy"RH1MOUNTED"false)
    
end
end
)
i jak nada? t? element date dla pojazdu w tym colsphere?
2. Jak zapalić światła po wjechaniu w ColSphere
Witam jak w temacie chcia? bym co? takiego zrobi? ?eby jak wjad? w ColSphere to automatycznie zapala?y mi si? ?wiat?a w aucie.. Kto? powie jakiej funkcji u?y? ??
Za pomoc stawiam :piwo: