EH10 Posted January 3, 2014 Share Posted January 3, 2014 addEventHandler ("onClientGUIClick", getRootElement(), function () if source == speed then if getPlayerMoney ( ) >= 2000 then setGameSpeed ( 10 ) setTimer( setGameSpeed, 10000, 1, 1 ) triggerServerEvent("setPlayerSpeed",getLocalPlayer ( )) outputChatBox("You Bought #00ffff[speed]",255,0,0,true) else outputChatBox("#00cc00You don't have #ff0000$2000 #00cc00to buy #ffff00[speed]",255,0,0,true) end end end ) addEvent("setPlayerSpeed",true) addEventHandler("setPlayerSpeed",root, function () takePlayerMoney(source, 2000) end) Link to comment
#Al-Ha[J]aRii Posted January 3, 2014 Share Posted January 3, 2014 الكود مافيه اي غلط + اتوقع الغلط من سطر ثاني بالمود الي انت مسويه طرشه خاص بضبطه لك 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