i,xAhmed Posted November 20, 2013 Share Posted November 20, 2013 (edited) آلسلآم عليكم آبي طلب بسيط آنآ مسوي كود يوزع فلوس بس ناقصه كم شي آبي فنكشن كل دقيقة يوزع + ابي اذا وزع يطلع بالشات تم توزيع راتب ( 12432 ) من حافز وطلب اخير ابي اخلي الفلوس مو بس رقم واحد يعني 10000 آبيه كل شوي يتغير الفلوس يعني من 5000 الى 20000 وشكراا آلكود : function GiveMoney ( P ) givePlayerMoney ( P, 5000,20000 ) outputChatBox ( Give All Player Money ( 5000,20000 ) end end ) Edited November 20, 2013 by Guest Link to comment
TAPL Posted November 20, 2013 Share Posted November 20, 2013 setTimer outputChatBox math.random Link to comment
i,xAhmed Posted November 20, 2013 Author Share Posted November 20, 2013 صح ؟ function GiveMoney ( P ) givePlayerMoney ( P, math.random ) setTimer( GiveMoney, 10000, 1) outputChatBox ( Give All Player Money ( 5000,20000 ) end end ) Link to comment
K1NG Posted November 20, 2013 Share Posted November 20, 2013 -- Server Side # setTimer ( function ( ) local money = math.random ( 5000, 20000 ) givePlayerMoney ( root, money ) outputChatBox ( "من حافز ( $" .. money .. " ) تم توزيع راتب", root, 255, 255, 0, true ) end, 60000, 0 ) 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