FAHD+18 Posted July 3, 2016 Share Posted July 3, 2016 السلام عليكم ورحمه الله وبركاتة مطلوب كود مطلوب كود لوحة تفتح بماركر بس يكون للوحة دي اكس . وشكرا Link to comment
N3xT Posted July 3, 2016 Share Posted July 3, 2016 (edited) onMarkerHit Edited July 3, 2016 by Guest Link to comment
FAHD+18 Posted July 3, 2016 Author Share Posted July 3, 2016 انا عايز الكود جاهز لو سمحت عشان انا معي الكود للوحة العادية مو دي اكس في الدي اكس لها طريقة تانية لو ممكن ! Link to comment
N3xT Posted July 3, 2016 Share Posted July 3, 2016 ما عندنا أكواد جاهزة ، بعدين انت بالموضوع كاتب دي اكس ^ شكراً للتنبيه أوسكار Link to comment
#DRAGON!FIRE Posted July 3, 2016 Share Posted July 3, 2016 function dxRender ( ) -- dx stuff end function OnHitOrLeave ( e_ ) if ( e_ == localPlayer and not getPedOccupiedVehicle ( e_ ) ) then if ( eventName == "onClientMarkerHit" ) then addEventHandler ( "onClientRender", root, dxRender ) else removeEventHandler ( "onClientRender", root, dxRender ) end end end addEventHandler ( "onClientMarkerHit", resourceRoot, OnHitOrLeave ) addEventHandler ( "onClientMarkerLeave", resourceRoot, OnHitOrLeave ) Link to comment
N3xT Posted July 3, 2016 Share Posted July 3, 2016 function dxRender ( ) -- dx stuff end function OnHitOrLeave ( e_ ) if ( e_ == localPlayer and not getPedOccupiedVehicle ( e_ ) ) then if ( eventName == "onClientMarkerHit" ) then addEventHandler ( "onClientRender", root, dxRender ) else removeEventHandler ( "onClientRender", root, dxRender ) end end end addEventHandler ( "onClientMarkerHit", resourceRoot, OnHitOrLeave ) addEventHandler ( "onClientMarkerLeave", resourceRoot, OnHitOrLeave ) 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