Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/04/17 in Posts

  1. خلاص مو لازم تحديات .. كذا حنا نخسر قدام الاجانب هم يتعاونو واحنا نتحدى ؟
    2 points
  2. السلام عليكم ورحمة الله وبركاته اخباركم عساكم طيبين طبعا الموقع ذا من افضل المواقع في الشروحات والتطبيق بحيث ان الموقع يعطيك شرح ثم تختبر اللي تعلمته . وقريبا راح يضيفون لغات ثانية انصحكم فيه remmaz
    1 point
  3. السلام عليكم شباب مود وظيفه الدكتور عباره عن انك لما تاخد الجوب تقدر تعطى الناس صحه وتاخد فلوس لما تاخد الجوب هتظهر رساله تقولك لو عوز تعطى حد صحه اضغط H وسوف يظهر ماركر عند دخول الاعب الماركر سوف يأخذ صحه مود على السريع كده الصور الرابط https://up.top4top.net/downloadf-460ykjb31-zip.html
    1 point
  4. @3laa33 مفروض تسأله ماتحط كود من نفسك , وهذا اخر رد لي وماني فاضي كل شوي احط رد
    1 point
  5. All this does is adding multiple eventHandlers to contactBTN every time you left click.
    1 point
  6. local isContactOpened = false addEventHandler("onClientClick", root, function(key, state, cx, cy) if key == "left" and state == "down" then if isCursorInBox(screenW * 0.4729, screenH * 0.3130, screenW * 0.0953, screenH * 0.0269) then if isContactOpened then removeEventHandler("onClientRender",getRootElement(),contactBTN) isContactOpened = false else addEventHandler("onClientRender",getRootElement(),contactBTN) isContactOpened = true end end end end) You're welcome.
    1 point
  7. or you can simply sort the table from biggest to smallest by; table.sort(table, function(a,b) return a.kill > b.kill end) and then, when you have the highest value on the top of the sorted table, You simply get the first row in this table and it will be the biggest.
    1 point
  8. Hi, have problem. I setting "httpdownloadurl" for downloading files, and it work, but not every time. If see in performance browser, you can see it. All work good, but sometimes "Sent http" started increased, why? How i can fix it, because me need use all VPS network channel only for game, not for files. External http server not crashed, it work.
    1 point
  9. That's a lie, as I said and proved with a screenshot, you finished the job/''deal'', only to realize it could make yourself better (the script was ''really worth much'') and refuse to deliver it as you wanted to keep it to yourself after you already made it. You also didn't set a new price, (''not like 5 or 10 euros'') which I explicitly asked for. Finishing what I requested you to script but not wanting to deliver it to me, gives me a bad experience with your services. It's a selfish action to do what you did, and in the process walk away with my idea. That's the core of my feedback. Please stop arguing now before this topic derails into something beyond the allowance of posting constructive feedback. And btw, as you've seen with my screenshots, lies don't work. (http://i.imgur.com/sJzN07N.jpg) Everyone can see now how you treat your customers.. my point. Contradicting yourself, but ok.. creating that resource, you were creating for me, as a scripter for hire. Take anything more than this to PM's please, I've proven all my points and my reason to post negative opinion is totally constructive.
    1 point
  10. يب تم الله يعطيكم العافية انتم الأثنين iMr.WiFi..! 3laa33 تمت الأفادة يغلق !#NssoR_)
    1 point
  11. Something like this should do function getMaxValue(table) local max_val, key = 0, 0 for i,v in pairs(table) do if v > max_val then max_val, key = v, i end end return max_val, key end Then use: value, key = getMaxValue(exampleTable[player].kill)
    1 point
  12. FPSSERVER.COM << وفي شرح عنها باليوتيوب
    1 point
  13. 1 point
  14. يعني هو فاز وانت فزت تصيرون نقطه واحدة للكل يعني الفائز لسا متحدد ~
    1 point
  15. اها .. آسف ذا غباء مني ما ركزت هنا triggerServerEvent("Enable",localPlayer,Acc,localPlayer)
    1 point
  16. انا ضايف ال لوكال بلاير داخل الترايجر واستقبلته ف الفنكشن تبي تحط سورس او تودي الوكال بلاير ف الترايجر اجل خلاص علي راحتك انا سويتها علي طريقتي مافي فرق الاثنين بيشتغلو لاتكبر الموضوع
    1 point
  17. Hum não sabia desse getPedWalkingStyle, então assim fica tranquilo: addCommandHandler ("bebado", function (source) if (getPedWalkingStyle (source) == 126) then setPedWalkingStyle (source, 0) toggleControl (player, "sprint", true) else setPedWalkingStyle (source, 126) toggleControl (source, "sprint", false) end end) Dessa forma ele vai setar estilo de bêbado independente de seu estilo atual.
    1 point
  18. عارف وش مسوي بسطر 16 و 17 ولا ؟
    1 point
  19. وش تقصد زر الصورة ؟ تقدر تعطينا السطر توضح اكثر .~. وراجع الموضوع حق كور
    1 point
  20. addCommandHandler ("bebado", function(player, command) if(getPedWalkingStyle(player == 0)) then setPedWalkingStyle (player, 126) toggleControl (player, "sprint", false) else setPedWalkingStyle (player, 0) toggleControl (player, "sprint", true) end end ) Eu recomendo usar este codigo, é melhor para o desempenho do que o código acima. Quero mencionar que não testei.
    1 point
  21. Esse jeito acima não vai dar certo. A variável isDrunk será aplicada ao script em si e não aos jogadores. Dessa forma, se um jogador der o comando /bebado e a variável ficar true, dai essa variável será true para todo mundo. Eu faria desse jeito assim: function onJoin (source) setElementData (source,"drunk.Status", false) -- Todo jogador que entra no server recebe status de bêbado como false por padrão. end addEventHandler ("onPlayerJoin", getRootElement(), onJoin) function drunkPlayer (source) if getElementData (source,"drunk.Status") == false then -- Se o jogador estiver com status de bêbado como false, faz o seguinte: setPedWalkingStyle (source, 126) -- Coloca estilo de andar bêbado. toggleControl (source, "sprint", false) -- Desativa a função de correr, podendo somente andar na velocidade normal ou caminhar. setElementData (source, "drunk.Status", true) -- Coloca o status de bêbado desse jogador como true. else -- Se o jogador não possuir status de bêbado como false, faz o seguinte: setPedWalkingStyle (source, 0) -- Coloca estilo de andar normal. toggleControl (source, "sprint", true) -- Ativa a função de correr. setElementData (source, "drunk.Status", false) -- Coloca o status de bêbado desse jogador como false. end end addCommandHandler ("bebado", drunkPlayer) -- Executa essa função ao usar o comando /bebado.
    1 point
  22. @Deativated وش الي اشوفه قدامي ؟
    1 point
  23. روح سوي كومند بسيرفر سايد , و خلي الرساله تطلع للاعب ؟ https://wiki.multitheftauto.com/wiki/AddCommandHandler ادخل و شوف بتحصل سيرفر سايد , اول شي تعريف الاعب ثاني شي الكومند لاكن في الكلينت مافي ارقمنت الاعب صحح معلوماتك
    1 point
  24. تسلم على الاقتراح , وذا كانت مشكلة المصمم انه قلد نفس تصميم جراند و ان شاء الله راح نغيره قبل الافتتاح
    1 point
  25. addEventHandler("onClientGUIClick",root, function ( ) if source == aButton then triggerServerEvent ( "AccountData" , localPlayer , tostring ( guiGetText ( aEdit ) ) ) end end ) addEvent ("AccountData",true) addEventHandler ("AccountData",root, function ( aAccount_ ) if getAccountName ( aAccount_ ) == getAccount ( aAccount ) then setAccountData ( getAccountName ( tostring (aAccount_ ) ) , "VIP" , true ) else ouputChatBox ( " هذا الحساب غير موجود بالسيرفر " , source ) end end ) كنت فاضي وسويته لك ، والكود للعيون شاطح
    1 point
  26. استمر ولا توقف ي قلبي ولا عليك من يقول تقليد و الخ .. لحظت فترات سابقا .. كانو ناس يزرفون يقلون زراف الخ .. اذا شخص قلد فكره قالو بعد زرف فكره اذا شخص سوا تقريبا نفس فكره قالو سرق فكره كلشي خلوها سرق .. مثال دخلت مطعم تقول له عطني كباب .. تروح مطعم ثاني تشوف عنده كباب تقول له مقلد مطعم فلان ي ** له سنين فاتح قبلك .. صارت نفس شي هنا من شخص يسوي نفس شي قالو سرقه او الخ .. فـ استمر ولا عليك من اي احد اهم شي انك تسوية بنفسك من 0 ~
    1 point
×
×
  • Create New...