Adham Posted June 18, 2016 Share Posted June 18, 2016 سلام عليكم انا عامل ايديت وعاوز يكتب في الايديت كود لون مثلن #ff0000- ويضعط علي button يجي في السياره اللون الهوا كتبو في الايدت بس لازم يكون معه 1500 فلوسي و م يقدر يكتب غير كود مل دا #ff0000 #00ff00 وتكون محفوظه لين يخش ويطلع --- طلب تاني لو ضعط علي زر وهوا معه 5000 فلوس يجيلو في السياره لون روندو كلر الوان عشاوائيه وتكون محفوظه لين يخش ويطلع Link to comment
' A F . Posted June 18, 2016 Share Posted June 18, 2016 guiGetText getColorFromString Link to comment
Adham Posted June 18, 2016 Author Share Posted June 18, 2016 م عرفت اسوي اوي addEventHandler("onClientGUIClick",root, function () if source == buttonclolor then local Color = guiGetText(editcolor) triggerServerEvent("SetColor",localPlayer,guiGetText(editcolor)) end end ) addEvent("setColor",true) addEventHandler("SetColor",root, function (color) if ( getPlayerMoney (source) >= 7000 ) then takePlayerMoney(source, 7000) local red, green, blue, alpha = getColorFromString ( color ) setBlipColor ( red, green, blue ) end end ) Link to comment
فاّرس Posted June 18, 2016 Share Posted June 18, 2016 ^ كودك ناقصة تحققات واشياء كثير كذا بتطلع اخطاء بالديبوق . Link to comment
#|_oskar_|# Posted June 18, 2016 Share Posted June 18, 2016 م عرفت اسوي اوي addEventHandler("onClientGUIClick",root, function () if source == buttonclolor then local Color = guiGetText(editcolor) triggerServerEvent("SetColor",localPlayer,guiGetText(editcolor)) end end ) addEvent("setColor",true) addEventHandler("SetColor",root, function (color) if ( getPlayerMoney (source) >= 7000 ) then takePlayerMoney(source, 7000) local red, green, blue, alpha = getColorFromString ( color ) setBlipColor ( red, green, blue ) end end ) انت تبي يلون سياره ولا يلون بلب ؟ Link to comment
Adham Posted June 18, 2016 Author Share Posted June 18, 2016 مثلن انا كاتب في الايدت كدا #ff0000 يلون السياره تبعو ولما يخش ويطلع تتحفظ اللون Link to comment
Abdul KariM Posted June 18, 2016 Share Posted June 18, 2016 setVehicleColor setAccountData getAccountData 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