Bassam*Syria Posted March 14, 2015 Share Posted March 14, 2015 السلام عليم و رحمه الله و ركاته انا عندي مشكله ب شي المهم في مشكله بالكود الي بطرحه الكود انو يتحقق من فلوسه و ينقصها و كذا الكود يتحقق بس ما ينقص ! ممكن حل؟ نشوف الكود function BMoney(amount) if amount then local money = getPlayerMoney(localPlayer) if money then if tonumber(money) >= tonumber(amount) then setPlayerMoney(localPlayer, tonumber(money - tonumber(amount))) return true else showText("#FF0000You don't have enough money !") return false end end end end Link to comment
TAPL Posted March 14, 2015 Share Posted March 14, 2015 getPlayerMoney setPlayerMoney ذولا الفنكشين في الكلينت ما يحتاجون ارقمنت لاعب + لا ينصح بأستخدام فنكشات الفلوس في الكلينت لان فلوس الكلينت تعتبر وهمية لا يعترف بها السيرفر و يمكن استخدام برامج غش لتغيرها الخ.. 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