Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 28/06/18 in Posts

  1. السلام عليكم ورحمة الله وبركاته MTA اخباركم يا اعضاء منتدى اليوم بقدملكم مود البنك الجديد من برمجتي كل شيء يخص الموضوع بتلاقوه في هذا الرابط واحب اشكر الأخ نكست والأخ عبد الكريم لمساعدتهم لي في كود من الاكواد الإهداءات : جميع أعضاء المنتدى في امان الله
    6 points
  2. لو بغيت الصراحه مستغرب كيف مسوي مود كذا وقاعد تسوي طلبات بموقع البرمجه اسهل من الموجود بالمود ذا بكثير باختصار انت زارف حقوق خخ
    3 points
  3. انت شكلك منت قادر تفهم او تستوعب ان السيرفر الي مالكه مانستر وابراهيم كان ادمن عنده , وهو يستقبل الاخبار من مانستر ويجي هنا يقولها لكم لا تسوي فيها قفيط ومدري وش ترا كلامك كله غلط بغلط الاخبار تجيه من مانستر وهو يجي هنا ويقولها لكم لو كان على مانستر يجي هنا ويرد عليك بنفسه لكن الرجال مكبر عقله والدليل الميوت الي جاك عشان تفهم
    2 points
  4. سكربت رائع , جميل , على اني مافهم للزومبي للدرجة دي , ومدري وش الحصري ووش مو الحصري المهم سكربت رائع وجميل جدا , وتسلم على الاهداء بالتوفيق لك , وللكل ان شاء الله
    2 points
  5. https://www.instagram.com/2u_quran/ كان حساب اباحي لشخص فرنسي وتم سحب حسابه وحذف بقرابة 1400 صورة غير لائقة
    2 points
  6. الله يعينك ع هالعينات ’ فيه منهم كثير
    2 points
  7. تسلم لانك اخبرتني , لاكن شو نسوي في كثير سيرفرات سوت الراتب حياك الله اخوي
    2 points
  8. لاجديد فكرة الراتب @MR.Mosa
    2 points
  9. Hey, after a long time I am releasing a newer version of this Multigamemode. You can find it on Github. Some Features: - Create as many arenas as you like by just calling a simple function providing a name and other properties. - Allow players to create their own arenas, in which they are automatically added as an admin for their arena. These custom arenas are destroyed the moment everyone has left them. - Use the Training button to train every map available on the server. - Common features like respawn, rewind, cp/tp etc. to help practising maps. - Custom ACL system: Each arena has their own acl file, yet you still can define global admins in the usual server acl. - A few maps have been included to make it easier to test and show the way how maps have to be organized. A little screenshot of the Lobby: More Screenshots can be found on Github for now. In order to use this Multigamemode, you will have to follow a quick instruction: Some of you might have seen this Multigamemode on the DDC server. This is a slightly different version from what we use on DDC. It excludes a few resource such as Userpanel or Stats, as they rely on our MySQL database and therefore cannot be shared so easy. Also, you will have to change the way Login works, if you want to login using an account of the mta server or remotely by using a website. Right now you can only login with an account on the ddc forum, as most people are gonna change the login to what they need anyway. Not everything is done in the best way and I would probably do some things differently now, but it works quite good and might be a good base for people to start their own project. If you want to contribute, you can create a pull request on Github. Bonsai
    1 point
  10. THIS SCRIPT IS NOT FINISHED, DO NOT DOWNLOAD IT UNLESS YOU KNOW HOW RESOURCES WORK This gamemode was to be my masterpiece, and yet I am releasing it incomplete in the hopes someone talented might take over and complete it. I will only be available in a limited capacity for support. DOWNLOAD: http://www.solidfiles.com/d/f53adc357d/ -Players can choose up to 4 powers at a time, and a theme. -spawn on a travelling flying helicarrier -fight muggers, gangs, and suicide bombers -do missions to fight crime -random events occur, such as a ninja attack, dinosaurs, or A GIANT ROBOT ATTACKS THE CITY POWERS PASSIVE "Kung Fu" Double tap the jump button to deliver a powerful kick while facing an enemy to send them flying. "Wall Climbing" Double tap the jump button while facing a wall to stick to it and climb around. "Wall Jumping" Double tap the jump button while facing a wall to launch yourself up and away from it. "Super Sprinting" Hold down the sprint and a direction button and run at super speeds for a limited time. "Knockout Punch" Punching an enemy results in them being stunned and unable to retaliate for a short time. TRANSPORT "Flight" Press jump while in the air to toggle flight mode. "Sky Surfing" Press the transport button to summon a flying vehicle to surf on. "Teleportation" Hold the transport button to control how far you want to teleport. "Grapple Hook" Press the transport button to get a grapple hook that will pull you to wherever you aim it. "Super Jump" Hold the jump key to launch yourself high and far forward. "Grav Bike" Press transport button to summon a bike, then Press it again to toggle the bike's gravity control. OFFENSE "Beam Attack" Double tap the aim key to shoot a powerful beam based on your chosen theme. "Razor Claws" Double tap the aim key to lunge through the air, or just punch your enemies using your sharp blades. "Boomarang" Double tap and hold the aim key to throw a projectile, ricocheting off walls. "Dash Attack" Double tap the aim key Deliver a powerful leap, scattering your enemies. "Energy Ball" Double tap and hold the aim key to charge up and release an explosive energy blast. "Double Swords" Double tap the aim key to do a spinning blade attack and slice nearby enemies. "Throw things" Double tap the aim key while facing various thngs to pick them up, then double tap aim again to throw it. DEFENSE "Healing factor" When resting and not moving you regain health slowly. "Armor Regen" When resting and not moving you gain armor. "Invisibility" Turn invisible for a short time after being attacked. "Shield" Keep blocking to place an inpenetrable barrier between you and any threat. "Bullet Dodge" Dodge bullets for a limited time. "Durability" Immunity from falling or drowning damage.
    1 point
  11. السلام عليكم و رحمة الله و بركاته اليوم جايب لكم مود الفيب المطور و الحصري لسيرفرات الزومبي VIP المود يشتغل على رتبة اسمها F10 للفتح اضغط طبعا فيه خاصيات كثيرة و مميزة صور للفيب رابط التحميل https://up.top4top.net/downloadf-909tq1nq1-rar.html الاهداءات @#DesTroeyR @,#Savage @#_iMr,[E]coo @Abdul KariM @#[K]iLLeR<3 @MrKAREEM
    1 point
  12. Client :- triggerServerEvent("onGetSave",localPlayer) showCursor ( true ) addEvent("onPutSave",true) addEventHandler("onPutSave",root, function (puser,ppass) guiSetText(user,puser) guiSetText(pass,ppass) end ) addEventHandler("onClientGUIClick",root, function () local user = guiGetText(user) local pass = guiGetText(pass) if ( source == btn.login ) then if user ~= "" and pass ~= "" then if guiCheckBoxGetSelected(remember) then triggerServerEvent("onLoginWith",localPlayer,user,pass) else triggerServerEvent("onLogin",localPlayer,user,pass) end else outputChatBox("* You Must Write Username Or Password",255,0,0) end elseif ( source == btn.reg ) then if user ~= "" and pass ~= "" then triggerServerEvent("onReg",localPlayer,user,pass) else outputChatBox("* You Must Write Username Or Password",255,0,0) end end end ) ---------------------------------------------------------------------------- addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == gust ) then guiSetVisible ( main, false ) showCursor ( false ) end end ) addEvent("onCl",true); addEventHandler("onCl",root,function() guiSetVisible(main,false) showCursor(false) end ) بالنسبة لـ حق التسجيل التلقائي , بروح الحمام وأجي اسويه لآ تنسى اللايك "
    1 point
  13. function function_name(command) if command == "say" then --code end end addEventHandler("onPlayerCommand", root, function_name)
    1 point
  14. Then just add the commands don't put it in a timer. function name(player) if getElementDimension(player) == 0 then -- only execute if the player's dimension is 0 --code end end addCommandHandler("usemedkit", name) -- or function name(player) if getElementDimension(player) ~= 336 then -- only execute if the player's dimension is not 336 --code end end addCommandHandler("usemedkit", name)
    1 point
  15. اطرح اكواد الكلنت
    1 point
  16. مبدع من الافضل , للافضل
    1 point
  17. الحمدالله والصلاه والسلام على اشرف الانبياء والمرسلين تم اغلاق مجتمع العرب , ستظل جميع الخدمات تعمل حتى انتهاء المدة جميع حقوق الموظفين من اموال او غيرها لاتسترد لان العمل كان تشاركي بيننا وبين الموظف اذا كان الموظف يريد الاستمراريه في مجتمع العرب له ذلك , تحياتي للجميع
    1 point
  18. الحمدالله والصلاه والسلام على اشرف الانبياء والمرسلين تم اغلاق مجتمع العرب , ستظل جميع الخدمات تعمل حتى انتهاء المدة جميع حقوق الموظفين من اموال او غيرها لاتسترد لان العمل كان تشاركي بيننا وبين الموظف اذا كان الموظف يريد الاستمراريه في مجتمع العرب له ذلك , تحياتي للجميع
    1 point
  19. استمر في الابداع يا بطل , وحاول تسوي الاحسن والاحسن ان شاء الله , بالتوفيق لك وللجميع
    1 point
  20. عمل جميل, بالتوفيق لك
    1 point
  21. صكك ميوت سنة كاملة لانك تستهبل وتطقطق عليه انا قلت سابقا اني معتزل تقعد تقله ي مانستر انت ابراهيم او تقله برمجة ابراهيم احسن من برمجتك والرد ذاك كان لك انت بالذات عشان تفهم اني معتزل , مدري انا افهم ***** على هيئة انسان ولا وش وتستاهل اللي جاك
    1 point
  22. Not going to be based at all on original editor, and all of the other stuff is already planned; also it's actually going to be an incredibly easy editor to learn / use. GUI isn't to complex.
    1 point
  23. عدلت عالكود انت اخذته قبل التعديل, خذه الحين
    1 point
  24. addCommandHandler("tst", function( ) local i = 60 timer = setTimer( function() i = i - 1 setGameType( tostring ( i ) ) end, 1000, 0 ) end )
    1 point
  25. انا اعتزلت من محاربين الصراحة احببته و كنت اتواجد فيه كثير بس هاذ اللي اسمه مونستر او مانستر او مدري شسمه ، صكني ميوت سنة على سبب تافه جداا و على فكره كل الناس تكرهه و مو مخليهم على راحتهم و انا اتوقع انه عنده الحق @#[K]iLLeR<3 اتمنى انك تصفي هاذ الادمن و شكرا ~
    1 point
  26. 1 point
  27. استبدل ذا بالسيرفر, واستعمل كودي الاول حق الزر عشان تعطيه الساعات exports.scoreboard:addScoreboardColumn('PlayTime') addEvent("addTime",true) addEvent("removeTime",true) addEvent("ToServer",true) addEventHandler("onResourceStart",resourceRoot, function ( ) executeSQLQuery ( "CREATE TABLE IF NOT EXISTS Prestege2_Save_Time ( PlayerAccount,Hours,Minuts,Seconds,PlayAllTime )" ) outputDebugString ("Execute SQL Loadded !") end ) local t = { } local w = {} addEventHandler("ToServer",root, function (word,get,time) if word and tonumber(get) and tonumber(time) then table.insert(w,{word,get}) setTimer(function () for _,v in ipairs(w) do if v[1] == word and v[2] == get then table.remove(w,i) end end end,time*60*60*1000,1) end end ) addEventHandler("onConsole",root, function (msg) for _,v in ipairs(w) do if msg == v[1] then local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) and not isGuestAccount ( playeraccount ) then if not getAccountData ( playeraccount, "time-"..msg) then addPlayerTime(source,v[2]) setAccountData( playeraccount, "time-"..msg,true) outputChatBox ("#000000||=[Twze3_System]=|| :#00FF00 تم اعطائك الساعات ", source, 0, 255, 0) else outputChatBox ("#000000||=[Twze3_System]=|| :#FF0000 تم اعطائك ساعات من قبل", source, 255, 0, 0) end end end end end ) addEventHandler("addTime",root, function (to,time,prize,name) if to == "all" then for _,v in ipairs(getElementsByType("player")) do addPlayerTime(v,time) outputChatBox ("تم توزيع "..time.." ساعة لـ جميع اللاعبين",v,255,0,0,true ) end elseif to == "buy" then if ( name and name ~= "" ) then if ( prize and prize ~= 0 ) then local plr = getPlayerFromName ( name ) if ( plr ) then if ( getPlayerMoney ( plr ) >= prize ) then addPlayerTime(plr,time) outputChatBox ("تم أضافة "..time.." ساعة الى حسابككـ",plr,255,0,0,true ) takePlayerMoney ( plr, prize ) else outputChatBox ("#FF0000* #ffffff ليس لديك مال كافي",plr,0, 255, 0,true ) end end end end else plr = getPlayerFromName(to) if plr then addPlayerTime(plr,time) outputChatBox ("تم أضافة "..time.." ساعة الى حسابككـ",plr,255,0,0,true ) end end end ) addEventHandler("removeTime",root, function (to,time) if to == "all" then for _,v in ipairs(getElementsByType("player")) do removePlayerTime(v,time) outputChatBox ("تم حذف "..time.." ساعة من جمييع الاعبين",v,255,0,0,true ) end else plr = getPlayerFromName(to) if plr then removePlayerTime(plr,time) outputChatBox ("تم حذف "..time.." ساعة من حسآبككـ ",plr,255,0,0,true ) end end end ) function addPlayerTime(plr,time) time = math.floor(time) t[plr]['hour'] = tonumber(t[plr]['hour'] or 0) + time end function removePlayerTime(plr,time) time = math.floor(time) t[plr]['hour'] = tonumber(t[plr]['hour'] or 0) - time end function checkValues( source,arg1,arg2) if (arg2 >= 60) then t[ source ][ 'min' ] = tonumber( t[ source ][ 'min' ] or 0 ) + 1 t[ source ][ 'sec' ] = 0 end if (arg1 >= 60) then t[ source ][ 'min' ] = 0 t[ source ][ 'hour' ] = tonumber( t[ source ][ 'hour' ] or 0 ) + 1 end return arg1, arg2 end setTimer( function( ) for _, v in pairs( getElementsByType( "player" ) ) do if (not t[ v ]) then t[ v ] = { ["hour"] = 0, ["min"] = 0, ["sec"] = 0 } end t[ v ][ 'sec' ] = tonumber( t[ v ][ 'sec' ] or 0 ) + 1 local min,sec = checkValues ( v, t[ v ][ 'min' ] or 0, t[ v ][ 'sec' ] or 0 ) local hour = tonumber( t[ v ][ 'hour' ] or 0 ) setElementData( v, "PlayTime", tostring( hour )..':'..tostring( min )..':'..tostring( sec ) ) end end, 1000, 0 ) function SaveDataOnQuit () local acc = getPlayerAccount (source) if not isGuestAccount (source) then local sValue = getElementData( source,'PlayTime' ) local hour = tonumber( t[ source ][ 'hour' ] or 0 ) local min = tonumber( t[ source ][ 'min' ] or 0 ) local sec = tonumber( t[ source ][ 'sec' ] or 0 ) local accountName = getAccountName (acc) local Results = executeSQLQuery("SELECT * FROM Prestege2_Save_Time WHERE PlayerAccount=?", accountName) if ( type ( Results ) == "table" and #Results == 0 or not Results ) then executeSQLQuery ( "INSERT INTO Prestege2_Save_Time ( PlayerAccount,Hours,Minuts,Seconds,PlayAllTime ) VALUES(?,?,?,?,?)", accountName,hour,min,sec,sValue ) else executeSQLQuery('UPDATE Prestege2_Save_Time SET Hours =?, Minuts =?, Seconds =?, PlayAllTime =? WHERE PlayerAccount =?', hour, min, sec, sValue, accountName) end t[ source ] = nil end end addEventHandler ("onPlayerQuit", root, SaveDataOnQuit) function SaveDataOnStop () for _,v in ipairs (getElementsByType ("player")) do if not isGuestAccount (getPlayerAccount (v)) then local acc = getPlayerAccount (v) local sValue = getElementData( v,'PlayTime' ) if not ( t [ v ] ) then t [ v ] = { } end local hour = tonumber( t[ v ][ 'hour' ] or 0 ) local min = tonumber( t[ v ][ 'min' ] or 0 ) local sec = tonumber( t[ v ][ 'sec' ] or 0 ) local Results = executeSQLQuery("SELECT * FROM Prestege2_Save_Time WHERE PlayerAccount=?", getAccountName (acc)) if ( type ( Results ) == "table" and #Results == 0 or not Results ) then executeSQLQuery ( "INSERT INTO Prestege2_Save_Time ( PlayerAccount,Hours,Minuts,Seconds,PlayAllTime ) VALUES(?,?,?,?,?)", getAccountName (acc), hour,min,sec,sValue) else executeSQLQuery('UPDATE Prestege2_Save_Time SET Hours =?, Minuts =?, Seconds =?, PlayAllTime =? WHERE PlayerAccount =?', hour, min, sec, sValue, getAccountName (acc)) end end end end addEventHandler ("onResourceStop", resourceRoot, SaveDataOnStop) function GetDataOnStart () for _,v in ipairs (getElementsByType ("player")) do if not isGuestAccount (getPlayerAccount (v)) then local acc = getPlayerAccount (v) local Results = executeSQLQuery("SELECT * FROM Prestege2_Save_Time WHERE PlayerAccount=?", getAccountName (acc)) if ( type ( Results ) == "table" and #Results == 0 or not Results ) then return end if not t[ v ] then t[ v ] = {} end t[ v ]["hour"] = tonumber(Results[1]["Hours"]) t[ v ]["min"] = tonumber(Results[1]["Minuts"]) t[ v ]["sec"] = tonumber(Results[1]["Seconds"]) end end end addEventHandler("onResourceStart", resourceRoot, GetDataOnStart) function GetDataOnLogin (_, acc) local Results = executeSQLQuery("SELECT * FROM Prestege2_Save_Time WHERE PlayerAccount=?", getAccountName (acc)) if ( type ( Results ) == "table" and #Results == 0 or not Results ) then return end setElementData (source, "PlayTime", Results[1]["PlayAllTime"]) if not t[ source ] then t[ source ] = {} end t[ source ]["hour"] = tonumber(Results[1]["Hours"]) t[ source ]["min"] = tonumber(Results[1]["Minuts"]) t[ source ]["sec"] = tonumber(Results[1]["Seconds"]) end addEventHandler ("onPlayerLogin", root, GetDataOnLogin) addCommandHandler('ساعات', function(thePlayer) if getPlayerSerial (thePlayer) == "0201F96FC2B860A7CE6716140C7828F3" then triggerClientEvent(thePlayer,'openn',thePlayer) end end )
    1 point
  28. well ok thank you, are u sure the whole code is just a adv spam?
    1 point
  29. local zones = { -- whatever content there would be } function saveZones() if fileExists("zones.json") then fileDelete("zones.json") -- if the file exists, delete it to clear it end local f = fileCreate("zones.json") if not f then outputDebugString("failed to create zones.json") return end fileWrite(f, toJSON(zones)) -- JSONify the zones table and write it to f (file handle for zones.json) fileClose(f) -- make sure to close the file so there's no memory leaks end function loadZones() if not fileExists("zones.json") then return end -- no save file, abort here local f = fileOpen("zones.json", true) if not f then outputDebugString("failed to open zones.json for reading") return end local content = fileRead(f, fileGetSize(f)) zones = fromJSON(content) -- assign the zones table to the de-JSONified content of the zones.json file fileClose(f) -- make sure to close the file so there's no memory leaks end I haven't actually tested this but it should work unless I misspelled some function or forgot an argument somewhere. Also worth noting, toJSON does not work with elements and userdata - you cannot place a player element there but you could place the player name.
    1 point
  30. وانا ايش دراني انه فكرته انا ما شفت موضوعه
    1 point
  31. نو triggerEvent لو انت سويت حدث في ملف سيرفر وتبي مثلا تجيب نفس الحدث في نفس ملف السيرفر تسوي triggerEvent مثال addEvent("tst", true) addEventHandler("tst", root, function() outputChatBox("welcome", source) end ) addEventHandler("onPlayerLogin", root, function() triggerEvent( "tst", source ) end )
    1 point
  32. اتوقع مثلا سويت ترايقر بملف سيرفر تقدر تتصل فيه بملف كلاينت بمود ثاني هذا مثال واتوقع تقدر تستخدمه بطرق ثانية
    1 point
  33. لو سويتها بسكربت لحاله أفضل باستخدام triggerEvent ( "addTime", source, getPlayerName(source),tonumber(1) ) بدون ما تعدل بمود الساعات جرب بمود مستقل * Server addEvent("BuyTime",true) addEventHandler("BuyTime",root, function () if not isGuestAccount(getPlayerAccount(source)) then if getPlayerMoney(source) >= tonumber(50000) then takePlayerMoney(source,50000) triggerEvent ( "addTime", source, getPlayerName(source),tonumber(1) ) -- 1 عدد الساعات outputChatBox("* تم الشراء ",source,0,255,0) else outputChatBox("* You Don't Have Enough Money",source,255,0,0) end else outputChatBox("* You Are Not Logged In",source,255,0,0) end end ) Client addEventHandler("onClientGUIClick",root, function () if source == buy then triggerServerEvent("BuyTime",localPlayer) end end ) واذا كان فيه خطأ اتمنى المعذرهـ * لأن ما افهم كثير بالتريقر
    1 point
  34. مود جميـل واصل ولا تحرمنا من جديدك وتقبل مروري بالمقطع *
    1 point
  35. addEventHandler("onPlayerWasted", root, function(_, killer) if killer and killer ~= source and getElementType(killer) == "player" then if ( getElementData (killer, "Damage" ) == true ) then setElementData( killer, "Damage", false ) end end end ) -- جرب
    1 point
  36. You could simply use table.insert to add the new zone into the table, however that would only last until the server or client (depending whether the script file is server side or client side) is restarted. If you want it to be permanent, you would have to either: 1) have the script edit itself and write into new lines in the source file, or 2) implement a saving system so you can save and load the table from a different file that's easier to edit The second option could be easily accomplished by simply writing the toJSON notation of the zones table into a file and then load it by assigning the zones table to the result of fromJSON of the save file's contents.
    1 point
  37. السلام عليكم تم صكي بان 30 يوم بسبب كلمة فشيخ اسف يرجو التواصل مع الادار ه فكه الاسم مستر تياقو
    1 point
  38. اذا تحقق الشرط
    1 point
  39. و ينهي الوظيفة .
    1 point
  40. I'm a little ashamed of that first version I released. I never planned to release it, I just started working on it some day for fun and didn't spend much time on planning it or writing good code, therefore it was kinda dirty. But then it got bigger and I felt like it would be a waste of time if I didn't release it, so it's good to hear that despite of the problems of the that version, it was useful to some people.
    1 point
  41. نفترض ان الاعب كتب الكلمة اكثر من مرة ؟ وش بيصير
    1 point
  42. عليكم السلام تستخدم المتغيرات وكل لاعب يكتب الكلمة تزود على المتغير 1 وبس يصير العدد اكبر من او يساوي 10 تسوي روتيرن
    1 point
  43. السلام عليكم ورحمة الله وبركاته .... مب لاقي شي اسويه ولا اي افكار فقلت خلني اشرح بعض الاشياء .... شرحي رح يكون عن setTimer .... والـ هو مؤقت يسوي شي كل وقت او يسوي شي بعد فترة محددة .... طيب خلنا نبدأ على بكرة الله .... المثال الاول رح اشرح فيه طريقة انشاء شي معين كل فترة معينة -- server function theFunctionName ( ) exports["guimessages"]:outputServer(root,"message from server file.",0,255,0,root) -- YourCode end setTimer ( theFunctionName, 5000, 0 ) -- لاحظ الرقم 0 -- client function theFunctionName ( ) exports["guimessages"]:outputClient("message from client file.",0,255,0) -- YourCode end setTimer ( theFunctionName, 5000, 0 ) -- لاحظ الرقم 0 المثال الثاني رح اشرح فيه طريقة انشاء شيء معين بعد فترة معينة -- server function theFunctionName ( ) exports["guimessages"]:outputServer(root,"message from server file.",0,255,0,root) -- YourCode end setTimer ( theFunctionName, 5000, 1 ) -- لاحظ الرقم 1 -- client function theFunctionName ( ) exports["guimessages"]:outputClient("message from client file.",0,255,0) -- YourCode end setTimer ( theFunctionName, 5000, 1 ) -- لاحظ الرقم 1 اذا لاحظتوا الفرق بين المثال الاول والمثال الثاني وهو شي واحد وهو الرقم 0 و الرقم 1 وهم يتحكمون في نوع المؤقت المؤقت مع الرقم 0 يسوي شي معين كل فترة معينة المؤقت مع الرقم 1 يسوي شي معين بعد فترة معينة المثال الثالث رح اشرح فيه كيفية تحديد وقت المؤقت .... واللي ما يعرف هذا الشي علامة الضرب [ * ] علامة القسمة [ / ] علامة الطرح [ - ] علامة الجمع [ + ] رح تقولولي وش فائدتهم بقولكم تقدرون تستفيدون منهم في البرمجة .... وقت المؤقت يكون عبارة عن 1000 جزء من الثانية بمعنى 1000 ميلي ثانية = ثانية .... طيب بنشوف مثال -- server -- guimessages ( outputServer ) function theFunctionName ( ) exports["guimessages"]:outputServer(root,"message from server file.",0,255,0) end setTimer ( theFunctionName, 5000, 0 ) -- رقم 5000 = 5 ثواني -- يمكن كتابته بصورة مختلفة مثل setTimer ( theFunctionName, 5*1000, 0 ) -- 1000 * 5 = 5000 وهذه فائدة الضرب -- طيب اذا ابي اسوي مؤقت يخرج رسالة كل 5 دقائق مثلاً وش اسوي ؟ -- هذا المثال يوضح كيف function Timer5 ( ) -- Timer5 = اسم الامر ويمكن كتابته اي شيء تريده exports["guimessages"]:outputServer(root,"مرحباً بك في السيرفر",0,255,0) end setTimer ( Timer5, (5*60*1000), 0 ) -- 5*60*1000 = 5 دقائق هذا الـ عندي اتمنى انكم استفدتم اذا ما فهمت الكود اكتب تعليق وبساعدك بإذن الله اذا قصرت في الشرح فأنا آسف هذا اول شرح لي والقادم افضل بإذن الله ... ... والسلام عليكم ورحمة الله وبركاته ...
    1 point
  44. السلام عليكم ورحمة الله تعالى وبركاته كيف الحال ؟ عساكم طيبين وبخير اليوم معنا الشرح الثانية من سلسلة "#دروس_برمجة" شرح عن الداتا وكيفية استخدامها ووش الفائدة منها, لمشاهدة الشرح : لو عجبك المقطع لاتبخل علي بـالضغط على زر لايك, وتشترك لو ماكنت مشترك دعمكم مهم بالنسبة لي في أمان الله تعالى, اخوكم مستر جراند
    1 point
  45. Hello ! i have problem on dimension i set the 3. marker dimension 1 but i go dimension 0 and i see gui i how fix it ? please help marker = createMarker( -1240.044921875, 472.73046875, 6.1875, "cylinder", 1.5, 255, 0, 0, 255 ) marker2 = createMarker( 2817.818359375, -1449.072265625, 27.15625, "cylinder", 1.5, 255, 0, 0, 255 ) marker3 = createMarker( -1950.7351074219, 146.02836608887, 27.654912948608, "cylinder", 1.5, 255, 0, 0, 255 ) setElementDimension (marker3, 1) function show2(hitPlayer) if (source == marker) then triggerClientEvent (hitPlayer,"show",getRootElement(),hitPlayer) elseif (source == marker2) then triggerClientEvent (hitPlayer,"show",getRootElement(),hitPlayer) elseif (source == marker3) then triggerClientEvent (hitPlayer,"show",getRootElement(),hitPlayer) end end addEventHandler("onMarkerHit", getRootElement(),show2)
    1 point
  46. If anyone has finished this script, or is interested in taking it over, please let me know.
    1 point
  47. dunno why it was down, back now.
    1 point
  48. name a better climbing animation, and i'll take a look
    1 point
×
×
  • Create New...