Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/04/19 in all areas

  1. زي ماهو واضح بالعنوان في لعبة قديمة كنت العبها على البلايستيشن وكانت ممتعة نوعا ما ف الي حاب يفتح سيرفر ويتيمز بقيم مود جديد لعل وعسى يستفيد منه شرح مختصر تصادم سيارات طبعا فيه حلبات او مضمار سباق زي مانقول وتتسابق مع ناس تحاول انك تفوز او ماتخلي احد يصدمك wreckfest اللعبة اسمها طبعا الدمج بيكون على حسب السرعة الي تمشي فيها واللعبة فيها نظام تعديل يعني كفرات ضد الانزلاق ونيترو وتقدر تزود السيارة وتركب صدامات كل الي ذكرته قابل انك تسويه باللعبة بسهولة تامه , القيم سهل انك تسويه بس راح تحتاج مصمم مابات يصمم لك وتقدر تضيف غرف او بمعنى تخلي كل ماب منعزل عن الثاني طبعا راح تحتاج الدمنشن عشان تفرد الاعبين بمعنى اصح لو فيه 30 لاعب يلعبون بماب معين واللعبة بدأت وجا زيادة 5 لاعبين يحتاجون يلعبون في نفس الماب انت هنا تحط الماب والاعبين بدمنشن معين وتبدأ اللوبي تستخدم الوظيفة الي طرحتها سابقا عشان تجيب دمنشن فارغ وبس والله , طبعا انا كان ودي اسوي القيم بس قدر الله ماشاء فعل والي عنده زيادة على الفكرة او فكرة احسن يحطها عشان يستفيد الجميع وبالتوفيق ان شاء الله
    5 points
  2. function delete_values_from_array($arr,$to){ $res=array(); for($k=0;$k<count($arr);$k++){ if ($k>$to){ array_push($res,$arr[$k]); } } return $res; } function mysqli_execute_all(){ $args = func_get_args(); if (func_num_args()<2){ return false;} $stmt = $args[0]->prepare($args[1]); $finalarr=delete_values_from_array($args,2); $stmt->bind_param($args[2],extract($finalarr)); $stmt->execute(); $result = $stmt->get_result(); return $result; } treat mysql injection +_+ بالتوفيق
    1 point
  3. السسسسسسسسسسلام عليكم ورحمة الله وبآركته زمآن عن تنزيل الموآضيع والتسليم والردود الطيبه منكم طبعآ اليوم عيد ميلادي ههه.09/04/2000 , 19 سنة وآخيرآ قفلنهآ مافي هديآ ولا وش ؟ هه ألف شكر لكل شخص يرد برد طيب وربي يبارك بآعمرآكم وتخلصون الدرآسة وتصيرو من أوائل وألف شكرا تحيآتي يا ملوك
    1 point
  4. setCameraMatrix event: onPlayerWasted or onClientPlayerWasted
    1 point
  5. مو مهم ان المود عادي او لا المهم انه شي محد جابه في mta مو مهم بساطة المود بالنسبه للبعض مود جميل وبالنسبه للي زيك مو ججميل واكيد اي شخص يسوي اي مود ما رح يعجب كل الناس
    1 point
  6. السلام عليكم حياكم الله في سيرفر اساطير العرب للزومبي يرحب بالجميع تنورونا بسيرفر الديسكورد https://discord.gg/cAtHuYc وصلنا اكثر من 40 زائر في خلال ساعات , تنورنا _________________________________________________________________ او باللعبة: mtasa://51.255.215.248:23114
    1 point
  7. امسك، بطاطس بقنيه و ربع كلها لك كاملة ?
    1 point
  8. حياكم الله في ديسكورد سيرفر اساطير العرب ~~~ https://discord.gg/BhgfYf
    1 point
  9. @Overkillz 1. Yes the performance will be affected depending on the hardware. The bigger the render target the more V-RAM it will be using. And ofcourse more pixels will be drawn. 2. If you want to focus on performance, then try to draw as less as possible times on the render target. Repeating operation is not necessary, unless the content is changing. Your 2 methods will work just fine. Just the method[1]: reducing the render target size might have better performance.
    1 point
  10. هم اطفال لا تشغل بالك بهم احسن ,,
    1 point
  11. Tente: function onPlayerQuitOrResStop ( ) if eventName == "onResourceStop" then for _, player in ipairs(getElementsByType("player")) do savePlayerData( player ) end return end savePlayerData( source ) end function onPlayerLogin (_, playeraccount ) if eventName == "onResourceStart" then for _, player in ipairs(getElementsByType("player")) do loadPlayerData( p ) end return end loadPlayerData( source ) end function savePlayerData( p ) local playeraccount = getPlayerAccount ( p ) if ( playeraccount ) and not isGuestAccount ( playeraccount ) then local trabalhotr = playerTraficante[p] or "n/a" local ax = playerAx[p] or false local coca = playerCoca[p] or false local bagulho = playerBagulho[p] or false local IngAx1 = playerIngAx1[p] or false local IngAx2 = playerIngAx2 [p] or false local IngCoca1 = playerIngCoca1 [p] or false local IngCoca2 = playerIngCoca2 [p] or false local IngCoca3 = playerIngCoca3 [p] or false local sementes = playerSementes [p] or false setAccountData ( playeraccount, "trabalhotr", trabalhotr ) setAccountData ( playeraccount, "droga.ax", ax ) setAccountData ( playeraccount, "droga.coca", coca ) setAccountData ( playeraccount, "droga.maconha", bagulho ) setAccountData ( playeraccount, "droga.ingax1", IngAx1 ) setAccountData ( playeraccount, "droga.ingax2", IngAx2 ) setAccountData ( playeraccount, "droga.ingcoca1", IngCoca1 ) setAccountData ( playeraccount, "droga.ingcoca2", IngCoca2 ) setAccountData ( playeraccount, "droga.ingcoca3", IngCoca3 ) setAccountData ( playeraccount, "droga.sementes", sementes ) end end function loadPlayerData( p ) local playeraccount = getPlayerAccount ( p ) if ( playeraccount ) and not isGuestAccount ( playeraccount ) then local trabalhotr = getAccountData ( playeraccount, "trabalhotr" ) or false local ax = getAccountData ( playeraccount, "droga.ax" ) or false local coca = getAccountData ( playeraccount, "droga.coca" ) or false local bagulho = getAccountData ( playeraccount, "droga.maconha" ) or false local IngAx1 = getAccountData ( playeraccount, "droga.ingax1" ) or false local IngAx2 = getAccountData ( playeraccount, "droga.ingax2" ) or false local IngCoca1 = getAccountData ( playeraccount, "droga.ingcoca1" ) or false local IngCoca2 = getAccountData ( playeraccount, "droga.ingcoca2" ) or false local IngCoca3 = getAccountData ( playeraccount, "droga.ingcoca3" ) or false local sementes = getAccountData ( playeraccount, "droga.sementes" ) or false if ( trabalhotr ) then setElementData( p, "trabalhotr", trabalhotr ) end if ( ax ) then setElementData ( p, "droga.ax", ax ) end if ( coca ) then setElementData ( p, "droga.coca", coca ) end if ( bagulho ) then setElementData ( p, "droga.maconha", bagulho ) end if ( IngAx1 ) then setElementData ( p, "droga.ingax1", IngAx1 ) end if ( IngAx2 ) then setElementData ( p, "droga.ingax2", IngAx2 ) end if ( IngCoca1 ) then setElementData ( p, "droga.ingcoca1", IngCoca1 ) end if ( IngCoca2 ) then setElementData ( p, "droga.ingcoca2", IngCoca2 ) end if ( IngCoca3 ) then setElementData ( p, "droga.ingcoca3", IngCoca3 ) end if ( sementes ) then setElementData ( p, "droga.sementes", sementes ) end end end addEventHandler ( "onResourceStop", resourceRoot, onPlayerQuitOrResStop ) addEventHandler ( "onResourceStart", resourceRoot, onPlayerLogin ) addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuitOrResStop ) addEventHandler ( "onPlayerLogin", getRootElement ( ), onPlayerLogin )
    1 point
  12. SAMP team didn't agree/like our move to announce it earlier than planned, because as I said, we felt the need to hurry as a result of the information leak and speculations going wild. So I think they'll stick to their planned announcement schedule for that reason.
    1 point
  13. Hi, The structure of the handler function of addCommandHandler is: string commandName, [string arg1, string arg2, ...] Which means the extra arguments (string arg1, string arg2, ...) are always strings, what you should do here is to convert the argument to number, and this works by using tonumber; Here you go: function setClientTime(cmd, newTime) newTime = tonumber ( newTime ) if not newTime then outputChatBox("Enter a number between 0 and 23") return end if (newTime > 23) or (newTime < 0) then outputChatBox("You must enter a number between 0 and 23.") return end setTime(tonumber(newTime), 0) -- What is this? end addCommandHandler("settime", setClientTime)
    1 point
×
×
  • Create New...