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: onmarkerleave
1. onMarkerLeave,zamykanie gui
s-side

marker 
= createMarker (jakie? tam koordy,"cylinder",6,0,0,0)
function 
guinaprawa(plr)
    
triggerClientEvent(plr,"guinaprawa", plr)
        
showCursor(true)
        
guiSetVisible(guinaprawa, true)
    
end
    addEventHandler
("onMarkerHit",marker,guinaprawa)
    
    function 
guinaprawa2(plr)
        
triggerClientEvent(plr,"guinaprawa", plr)
        
showCursor(false)
        
guiSetVisible(guinaprawa, false)
    
end
    addEventHandler
("onMarkerLeave",marker,guinaprawa)



c-side


function guinaprawa()
local screenW, screenH = guiGetScreenSize()
--[[



      
jakie? tam gui



--]]
addEvent("guinaprawa", true)
addEventHandler("guinaprawa", getRootElement(), guinaprawa)



chce ?eby po wyjechaniu z marker .. gui znika?o :|
co robi? ?le ?