To znowu ja . Nie wiem dlaczego ale po w??czeniu skryptu gui si? pojawia
I jakby kto? m?g? to niech sprawdzi tiggera czy dobrez go zrobi?em z g?ry dzi?ki
S-SIDE
Znowu mam problem z tiggerem , tym razem po wej?ciu w marker wszystkim graczom wy?wietla si? gui
Kod:
-- c-side
addEventHandler("onClientMarkerHit", root,
function()
if source == marker then
guiSetVisible(okno,true) showCursor(true) triggerServerEvent("pokaz", source, source) end
end)
-- s-side
addEvent("pokaz", true) addEventHandler("pokaz", root,
function(plr)
if source == marker then if getElementType( thePlayer ) == "player" then if isObjectInACLGroup("user."..accName, aclGetGroup("SAMC")) then if guiGetVisible(okno)==false then
guiSetVisible(okno, true) showCursor(true) end
end
end
end
end)
Witam . Mam kolejne pytanie . Tym razem odno?nie tiggera . By?em na wiki i to nic nie da?o wi?c kieruje do was pytanie jak zrobi? tigger ze po wejsciu w marker wy?wietla si? gui ?
Dzi?kuj? za pomoc