Mr.OppS Posted May 6, 2017 Share Posted May 6, 2017 مـود سـبـاق الدرجـات ,, تذهب للماركر تاخذ دراجة واول شخص يوصل للماركر الاخـر ! يـاخذ فـلـوس يـوجـد مـشـكـلـة ! اذا انت تدخل الماركر الاخـر! اكثير من مرة!! يعطيك فلـوس مرة اخري!! اريد فقط يعطي لكل شخص 1 مرة بعد كل نصف ساعة! اذا لاعب اخذ الان فلـوس! ثم دخل مرة اخـري للـمـاركـر! لا ياخذ شي وينتظر نصف ساعة حتي ياخذ مرة اخري,ارجو مساعدة ألكـود1 local marker1 = createMarker( -3012.6000976563, 408.79998779297, 19.200000762939, "cylinder", 1.5, 0, 0, 0, 200) Rumpo = {} function spawn (source) if Rumpo[source] and isElement(Rumpo[source]) then destroyElement(Rumpo[source]) end Rumpo[source] = createVehicle (481, -3017.203125, 408.78088378906, 20.176563262939) setElementRotation(Rumpo[source],0,0,90) setVehicleColor (Rumpo[source], 0,0,0,0,0,0,0,0,0,0,0,0) outputChatBox ('#868686Bicycle was given,#000000', root, 255, 255, 255, true) outputChatBox ('#868686Finish up, Money is waiting for you.#000000', root, 255, 255, 255, true) warpPedIntoVehicle (source, Rumpo[source]) end addEventHandler ("onMarkerHit", marker1, spawn) كود 2 addEventHandler("onResourceStart", getRootElement(), function () marker22 = createMarker ( -3062.3813476563, 410.49588012695, 20.18229675293, "checkpoint", 1.0, 0, 0, 0, 0, getRootElement() ) addEventHandler( "onMarkerHit", marker22, function() local amount = math.random(100,1000) for i, player in ipairs(getElementsByType("player")) do local accName = getAccountName( getPlayerAccount(player) ) if isObjectInACLGroup("user."..accName, aclGetGroup("Everyone")) then givePlayerMoney(player, amount) outputChatBox("* " .. getPlayerName(player) .. " #868686Here's the award: #FFFF00$"..amount.."#FFFFFF",player , 0, 255, 0, true) end end end) end) شكراً Link to comment
#BrosS Posted May 6, 2017 Share Posted May 6, 2017 شكرا لأنك اعطيتنا المود الحين ناس ياخذوه ومو شرط الداتا يقدر يستعمل المتغيرات ^ Link to comment
Mr.OppS Posted May 6, 2017 Author Share Posted May 6, 2017 3 minutes ago, #BrosS said: شكرا لأنك اعطيتنا المود الحين ناس ياخذوه ومو شرط الداتا يقدر يستعمل المتغيرات ^ موجود بالنت بس انت ماتبحث عنة Link to comment
MR.StoRm Posted May 6, 2017 Share Posted May 6, 2017 57 minutes ago, #_iMr.[E]coo said: ودك مهمة سباق دراجات ؟ جا ملك المهمات 1 Link to comment
#Soking Posted May 6, 2017 Share Posted May 6, 2017 aValue = { } ولما يلمس المركز aValue [ player ] = trhe و سوي تحقق true * جوال Link to comment
Mr.OppS Posted May 6, 2017 Author Share Posted May 6, 2017 9 hours ago, #_iMr.[E]coo said: ودك مهمة سباق دراجات ؟ أي ابي بعض المهمات 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