Jw8. Posted March 25, 2017 Share Posted March 25, 2017 سلام عليكم ابي الماركار بس يخشوه الدتا الي انا ابيه local marker = createMarker (z.y.x, "cylinder", 1.5, 255, 255, 0, 170 )addEventHandler("onClientMarkerHit",marker, function()guiSetVisible(God,true)showCursor(true)end ) الداتا الي ابيه ذه getElementData(marker,"Group") Link to comment
AHMED MOSTAFA Posted March 25, 2017 Share Posted March 25, 2017 Just now, DmAr511 said: سلام عليكم ابي الماركار بس يخشوه الدتا الي انا ابيه local marker = createMarker (z.y.x, "cylinder", 1.5, 255, 255, 0, 170 )addEventHandler("onClientMarkerHit",marker, function()guiSetVisible(God,true)showCursor(true)end ) الداتا الي ابيه ذه getElementData(marker,"Group") جرب local marker = createMarker (z.y.x, "cylinder", 1.5, 255, 255, 0, 170 ) setElementData( marker, "Group", "the.data" ) addEventHandler("onClientMarkerHit",root , function( me ) if source == marker then if getElementType (me) == "player" and me == localPlayer then if getElementData( marker, "Group") == "the.data" then -- حط الداتا حقتك guiSetVisible(God,true) showCursor(true) end end end end ) Link to comment
Jw8. Posted March 25, 2017 Author Share Posted March 25, 2017 3 minutes ago, Killer Project said: جرب local marker = createMarker (z.y.x, "cylinder", 1.5, 255, 255, 0, 170 ) setElementData( marker, "Group", "the.data" ) addEventHandler("onClientMarkerHit",root , function( me ) if source == marker then if getElementType (me) == "player" and me == localPlayer then if getElementData( marker, "Group") == "the.data" then -- حط الداتا حقتك guiSetVisible(God,true) showCursor(true) end end end end ) Error Link to comment
#BrosS Posted March 25, 2017 Share Posted March 25, 2017 @Killer Project كيف تتحقق ان الماركر عنده الداتا الله يهديك Link to comment
AHMED MOSTAFA Posted March 25, 2017 Share Posted March 25, 2017 Just now, #BrosS said: @Killer Project كيف تتحقق ان الماركر عنده الداتا الله يهديك وش دراني انا وش يبي هو ض1 وين الداتا اللي انت تبي تجيبها اصلاً ؟ وش اسم الداتا ها ؟ local marker = createMarker (z.y.x, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler("onClientMarkerHit",root , function( me ) if source == marker then if getElementType (me) == "player" and me == localPlayer then if getElementData( localPlayer, "Group") == "thedata" then -- حط الداتا حقتك guiSetVisible(God,true) showCursor(true) end end end end ) Link to comment
#BrosS Posted March 25, 2017 Share Posted March 25, 2017 1 minute ago, Killer Project said: وش دراني انا وش يبي هو ض1 سوري ماشفت انه هو اللي حاطط داتا على ماركر ._. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now