King12 Posted June 24, 2013 Share Posted June 24, 2013 السلام عليكم عندي كود ليبل بخليه يجيب فلوسك ضبط بس حاولت احط علامة الفلوس بعد getPlayerMoney اللي هي $ ويطلع خطأ ويخرب كامل اليوزر الكود : CashText = guiCreateLabel(35, 69, 200, 33, "Your Money : ", false, StatsWindow) guiSetFont(CashText, "default-bold-small") function refreshStats() if guiGetVisible(StatsWindow,true) then else guiSetText(CashText,"Your Money : $"..getPlayerMoney(getLocalPlayer())) end end addEventHandler("onClientRender", getRootElement(), refreshStats) Link to comment
PaiN^ Posted June 24, 2013 Share Posted June 24, 2013 CashText = guiCreateLabel( 35, 69, 200, 33, "Your Money : ", false, StatsWindow ) guiSetFont( CashText, "default-bold-small" ) function refreshStats( ) if guiGetVisible( StatsWindow ) then guiSetText( CashText, "Your Money : $ "..getPlayerMoney( getLocalPlayer( ) ) ) end end addEventHandler( "onClientRender", getRootElement( ), refreshStats ) Link to comment
RdX Posted June 24, 2013 Share Posted June 24, 2013 (edited) CashText = guiCreateLabel(35, 69, 200, 33, "Your Money : ", false, StatsWindow) guiSetFont(CashText, "default-bold-small") function refreshStats() if guiGetVisible(StatsWindow,true) then else guiSetText(CashText,"Your Money : "..getPlayerMoney.." $ "(getLocalPlayer())) end end addEventHandler("onClientRender", getRootElement(), refreshStats) الكود غير مجرب Edited June 24, 2013 by Guest Link to comment
King12 Posted June 24, 2013 Author Share Posted June 24, 2013 مو فاهمني انت انا ابي علامة الفلوس هذي " $ " تجي بعد getPlayerMoney علشان تكون 4128912 $ Link to comment
RdX Posted June 24, 2013 Share Posted June 24, 2013 كنق جرب الكود مره ثانيه عدلته يمقن يشتغل Link to comment
PaiN^ Posted June 24, 2013 Share Posted June 24, 2013 CashText = guiCreateLabel( 35, 69, 200, 33, "Your Money : ", false, StatsWindow ) guiSetFont( CashText, "default-bold-small" ) function refreshStats( ) if guiGetVisible( StatsWindow ) then guiSetText( CashText, "Your Money :"..getPlayerMoney( ).." $" ) end end addEventHandler( "onClientRender", getRootElement( ), refreshStats ) جرب ذا Link to comment
King12 Posted June 24, 2013 Author Share Posted June 24, 2013 CashText = guiCreateLabel( 35, 69, 200, 33, "Your Money : ", false, StatsWindow ) guiSetFont( CashText, "default-bold-small" ) function refreshStats( ) if guiGetVisible( StatsWindow ) then guiSetText( CashText, "Your Money :"..getPlayerMoney( ).." $" ) end end addEventHandler( "onClientRender", getRootElement( ), refreshStats ) جرب ذا شكراً لك , الكود شغال تم حل المشكله , آنتهى 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