Wysłany: 2017-03-10, 23:09
mlodasnygo
Wiek: 16 Na forum: 3972 dni Posty: 205
Piwa : 518
Witam!
Mam problem, gdy? zawsze dzia?a?o, teraz nie, chodzi o to, ?e nie wy?wietla si? GUI po wej?ciu w Marker, db czyste.
-s-side
function open_gui1 ( hitElement , matchingDimension )
if getElementType ( hitElement ) == "player" then
triggerClientEvent ( hitElement , "open_gui" , hitElement )
end
end
addEventHandler ( "onMarkerHit" , sultan_carmarker , open_gui1 )
-c-side
function o_gui ( hitElement )
guiSetVisible ( win_carshowroom , true )
showCursor ( true , false )
end
addEvent ( "open_gui" , true )
addEventHandler ( "open_gui" , getRootElement (), o_gui )
Zg?upia?em, prosz? o pomoc.
Wynagrodz?
Pozdrawiam,
mlodasnygo
Podpis
600 dni -
10 marca 2017
500 piw -
10 marca 2017
Wysłany: 2017-03-10, 23:59
=DC=
Wiek: 35 Na forum: 3944 dni Posty: 223
Nick w MP: =DC=
Piwa : 72
Sprawd?
C-side:
addEvent ( "open_gui" , true )
addEventHandler ( "open_gui" , root , function()
guiSetVisible ( win_carshowroom , true )
showCursor ( true , false )
end )
Podpis
Witaj
[you]
, jeśli Ci pomogłem postaw mi lub Dzięki!
Tagi: gui :: niby :: proste :: ale...
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: