==>ҭᾄlᾄl Posted September 25, 2012 Share Posted September 25, 2012 ابي كود الغاء الوضيفه حاولت اسويه وما ظبط هذا الكود function onGuiClick (button, state, absoluteX, absoluteY) if ( source == Button ) then function narBullets() local x,y,z = getPedWeaponMuzzlePosition(localPlayer) x2,y2,z2 = getPedTargetCollision(localPlayer) if not x2 then x2,y2,z2 = getPedTargetEnd(localPlayer) end dxDrawLine3D(x,y,z, x2,y2,z2, tocolor(255,0,0), 2) setTimer ( function() cancelEvent () end, 5000, 1 ) end addEventHandler("onClientRender", root, narBullets) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) 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