Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 13/09/16 in all areas

  1. I'm happy to report we've now developed and installed this plugin. Here's an example: function onWasted() if not( isGuestAccount (getPlayerAccount(source)) ) then local jailtime = getAccountData(getPlayerAccount(source), "Jailtime" ) or 0 local theWeapon = getPedWeapon (source) local weaponAmmo = getPedTotalAmmo (source) if tonumber(jailtime) == nil or 0 then outputChatBox ("1", root) fadeCamera (source, false) setTimer (spawnPlayer, 1000, 1, source, 1161.3000488281, -1376.0999755859, 4, 0, getPedSkin (source), 0, 0, getPlayerTeam(source)) setTimer (setElementHealth, 1500, 1, source, 10) setTimer (setCameraTarget, 1250, 1, source, source) setTimer (fadeCamera, 2000, 1, source, true) setTimer (giveWeapon, 2000, 1, source, theWeapon, weaponAmmo, true) elseif tonumber(jailtime) > 0 then outputChatBox ("2", root) fadeCamera (source, false) setTimer (spawnPlayer, 1000, 1, source, 264.20001220703, 77.599998474121, 1001, 0, getPedSkin (source), 6, 1, getPlayerTeam(source)) setTimer (portjail, 1500, 1) setTimer (setElementHealth, 1500, 1, source, 10) setTimer (setCameraTarget, 1250, 1, source, source) setTimer (fadeCamera, 2000, 1, source, true) setTimer (giveWeapon, 2000, 1, source, theWeapon, weaponAmmo, true) end end end addEventHandler ("onPlayerWasted", getRootElement(), onWasted) As a bonus feature that didn't exist before, Event names are also linked to the wiki. All previous posts have this applied automatically, and all posts going forward. Note, Wiki links and extended markup will only appear after you've posted the code. Posting code is done normally by pressing the '<>' button in the post editor. Please report any issues surrounding the syntax highlighting in this topic
    6 points
  2. As discussed previously, you can now edit your own posts and topics in specific topics. Thanks for the feedback regarding bugs with old [ code ] tags. This is basically if non-standard code tags were used, such as [ code=text ] or [ code=xml ]. This should now be fixed for all posts. Finally, syntax highlighting has returned to it's old format. You can find more information about this here:
    2 points
  3. السلام عليكم ورحمة الله وبركاته كيف حالكم ياشباب ؟ عساكم بخير انشاء الله اليوم جايبلكم مود حصري والي هو شراء الخيمة طبعا سويت عنه مقطع اكيد ماراح تفهمه اول مرة تسمعه بس لما تشوف المقطع راح تفهم كل شئ .. رابط المقطع ------------------ التحميل الله اكبر - التحميل من هنا ------------------ الاهدائات Dr. Default AbduL KariiM iMR. SAAD وكل الي شاف الموضوع
    1 point
  4. Lua تم إضافة الالوان لـ اكواد function onWasted() if not( isGuestAccount (getPlayerAccount(source)) ) then local jailtime = getAccountData(getPlayerAccount(source), "Jailtime" ) or 0 local theWeapon = getPedWeapon (source) local weaponAmmo = getPedTotalAmmo (source) if tonumber(jailtime) == nil or 0 then outputChatBox ("1", root) fadeCamera (source, false) setTimer (spawnPlayer, 1000, 1, source, 1161.3000488281, -1376.0999755859, 4, 0, getPedSkin (source), 0, 0, getPlayerTeam(source)) setTimer (setElementHealth, 1500, 1, source, 10) setTimer (setCameraTarget, 1250, 1, source, source) setTimer (fadeCamera, 2000, 1, source, true) setTimer (giveWeapon, 2000, 1, source, theWeapon, weaponAmmo, true) elseif tonumber(jailtime) > 0 then outputChatBox ("2", root) fadeCamera (source, false) setTimer (spawnPlayer, 1000, 1, source, 264.20001220703, 77.599998474121, 1001, 0, getPedSkin (source), 6, 1, getPlayerTeam(source)) setTimer (portjail, 1500, 1) setTimer (setElementHealth, 1500, 1, source, 10) setTimer (setCameraTarget, 1250, 1, source, source) setTimer (fadeCamera, 2000, 1, source, true) setTimer (giveWeapon, 2000, 1, source, theWeapon, weaponAmmo, true) end end end addEventHandler ("onPlayerWasted", getRootElement(), onWasted) وتم إضافة ميزة جديده لم تكون متوفره من قبل الا وهي يمكنك الضغط ع اسم الحدث وسيتم نقلك لصفحته في الويكي تلقائي وحتي الاكواد التي تم طرحها في المواضيع السابقة ستتغير تلقائيأ ملاحظة : الاكواد لن تتلون الا بعد ان يتم عرض الرد في الموضوع : المصدر @darkdreamingdan
    1 point
  5. معرف وش وضعك انتا هيك تقول انك هتسوي ربنا ( استغفر الله العظيم ) ده هيك مقصدك ؟ ترا اسمها ان شاء الله و احنا قلنا لك اكتر من مرة و انتا مصر علي العناد و بما انك تعرف ان الي تقولو غلط و تسويه تنحسب عليك زنوب لانك تعرف انها خطاء و تكتبها انشاء الله = هتسوي ربنا | هتخلق ربنا استغفر الله العظيم ده معناها و لما انك مصر عليها و بقالنا كم مدة قايلين معناها شوف كم زنب اخدتو و قاعد تاخدو
    1 point
  6. addEventHandler("onPlayerCommand", root, function(cmd) if getElementData(source,"NoComm") then outputChatBox ("لا يمكنك استخدام الأزرار وقت الحرب",source,255,255,200,true ) cancelEvent() end end)
    1 point
  7. buttons = { ['F1'] = true, ['F2'] = true, ['F3'] = true, } addEventHandler( 'onClientKey', root, function (button , prees) if prees and getElementDimension(localPlayer) == 6 then if buttons[button] then outputChatBox("غير مصرح لك بفتح اللوحة الان ", source, 255, 0, 0) cancelEvent() end end ) الكود كلنت
    1 point
  8. المنتدى وتشجيع من المبرمجين الي بالمنتدى وعناد شجعني بعد
    1 point
  9. عشان تخلي اللاعب ياخذ سلاح عن طريق الشات تستخدم الحدث هذا onPlayerChat + كود giveWeapon وبخصوص إلغاء الادمنية و الفري روم بتحصل كود الإلغاء بهالموضوع .
    1 point
  10. استخدم createMarker setTimer setElementPosition onClientMarkerHit isTimer killTimer
    1 point
  11. ضيف هاذا بالميتا حق مود chatbubbles <export function="addText" type="client" />
    1 point
  12. Nu vă înțeleg de ce spuneți câcaturi despre servere... Nu îți place, nu te juca! Spunând chestiile astea despre un server arată mediocritatea ta. Dacă nu îți place un server fă tu unul mai fain și atunci eu tac din gură. Să faci un server nu este așa simplu, mai ales să îl ții deschis ani (precum dany a făcut)
    1 point
  13. Please remove more of your older messages, then try sending a message again. Message limits were greatly increased a few days ago, but if you had many messages on phpBB grouped in several separate folders, they were just put into a single folder now, including the ones you have sent.
    1 point
  14. .ياولد والله اني نااسي .بس اذكر انها كانت قصة اكشن وكفاح من اجل المستحيل, ثم سحبت عليها ثم رجعت وتعلمت اكثر والحين داخل ف مشروع سحبه قريباً .وما اذكر ان فيه احد علمني صح كنت اطلب مساعدات وكذا لكن كنت اتعلم منها يعني ماكان فيه شخص محدد يعلمني
    1 point
  15. FFS Server داعم كبير للـ MTA:SA مادياً $$$
    1 point
×
×
  • Create New...