salh Posted May 12, 2019 Share Posted May 12, 2019 اسلام عليكم احتاج مساعدة في شي بسيط ما عرفت له بس جربت local px, py, pz = getElementPosition ( getLocalPlayer ( )) pos = guiCreateLabel(299, 689, 305, 39, " ".. px .." ".. py .."".. pz.." ", false) guiLabelSetVerticalAlign(pos, "center") هو يعطي الموقع بس المشكلة ابيه يتغير كل ما تحرك الاعب كل ما يتقدم يتغير x,y,z و شكرا Link to comment
Hakan Posted May 12, 2019 Share Posted May 12, 2019 addEventHandler ( "onClientRender" , root , function ( ) if ( guiGetVisible ( pos ) == true ) then local x,y,z = getElementPosition ( localPlayer ) guiSetText ( pos , x..","..y..","..z ) end end ) Link to comment
salh Posted May 12, 2019 Author Share Posted May 12, 2019 ما يشتغل pos = guiCreateLabel(213, 688, 33, 46, "", false) addEventHandler ( "onClientRender" , root , function ( ) if ( guiGetVisible ( pos ) == true ) then local x,y,z = getElementPosition ( localPlayer ) guiSetText ( pos , x..","..y..","..z ) end end ) Quote Link to comment
Hakan Posted May 12, 2019 Share Posted May 12, 2019 مجربه وشغال معي تمام , تأكد من عندك انت 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