Jump to content

oPIXz

Members
  • Posts

    56
  • Joined

  • Last visited

Everything posted by oPIXz

  1. oPIXz

    lol where to

    race > modes > base.lua
  2. oPIXz

    buymap

    try function buyMap(thePlayer, command, ...) local account = getPlayerAccount(thePlayer) if not (isGuestAccount(account)) then local playerCash = tonumber(getAccountData(account,"cash")) if g_ForcedNextMap then outputChatBox( "* Next map is " .. getMapName( g_ForcedNextMap ), thePlayer ) return end local query = #{...}>0 and table.concat({...},' ') or nil if not query then if g_ForcedNextMap then outputChatBox( "* Next map is " .. getMapName( g_ForcedNextMap ), thePlayer ) else outputChatBox( "* Next map is not set", thePlayer, 255, 255, 255 ) end return end local map = findMap(query) if not map then outputChatBox(errormsg, thePlayer) return end if if playerCash >= 1000 then if lastmap_B == map then outputChatBox( "* That map has been played recently.", thePlayer, 255, 255, 255 ) else g_ForcedNextMap = map outputChatBox(getPlayerName(thePlayer).. " bought next map to be " ..getMapName(g_ForcedNextMap).. "", g_Root, 255, 255, 255) setAccountData(account,"cash",playerCash - 1000) addStat(account,"buyedMaps",1) lastmap_B = g_ForcedNextMap end else outputChatBox("* You need more cash", thePlayer, 255, 255, 255) end end end addCommandHandler('bm', buyMap) addCommandHandler('buymap', buyMap)
  3. or convert image to PNG
  4. i think so that problem with your IMG "map.jpg" try to change it ?
  5. https://community.multitheftauto.com/ind ... ils&id=487
  6. هذي مشكلة اذكرها يوم كان عندي سيرفر او شي المشكلة تطلع لانك دخلت اللوحة بجهازين أو دخلت بدون ماتضغط لوق اوت حاول اذا دخلت اضغط لوق اوت او مدري اذا عربوها تسجيل خروج ثم جرب ادخل مره ثانية اذا ماظبط افتح فالويندوز تشغيل ثم اكتب الامرين هذي ipconfig /flushdns RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2 كل واحد لحاله
  7. oPIXz

    colorpicker

    شكرا تيتي بس انا اعرف السكربت بس مشكلتي ماعرفت كيف استعمله من الشرح حق السكربت edit: مشكورين يا عيال اشتغل معي مشكلتي كانت كنت اجرب بدون ماشغل السكربت نفسه حق الالوان
  8. السلام عليكم شباب عندي سؤال عندي اديت وابي استخدم لوحة الالوان اذا اخترت اللون يطلع لي بالادت r,b,g ؟ كيف استخدم ال colorpicker ؟؟
  9. ممتاز , أستمر اللي يشتري نسخه توصله التحديثات الجديدة ؟ اذا توصل ان شاءلله اشتريها تستاهل الدعم
  10. Fake resource : https://community.multitheftauto.com/ind ... ls&id=8815 Original : https://community.multitheftauto.com/ind ... ls&id=7880 DONE
  11. اذا تستخدم لوحة الاستضافة ماحد يقدر يفيدك هنا كلم دعم الشركة
  12. وش تستخدم انت لوحة الاستضافة ولا putty? whoami اذا تستخدم برنامج الاوامر اكتب اذا ماطلع روت يعني معطينك حساب محدود ماتقدر تسوي فيه كل شي
  13. هذي صارت لسيرفر الخادم مو للالعاب الغلط مني أعتذر
  14. بعضها ماتشتغل عالنظام ديبيان لازم تغير النظام
  15. اللوحات كثيرة تدفع ولا شوف هذي مجانية https://gamepanelx.com/‏ https://gamecp.com/‏ http://www.openpanel.com/ http://www.bgpanel.net/ http://www.gamecreate.com/ http://www.opengamepanel.org/
  16. استضافة حلوه وكل يوم تتطور بس اكون صريح الدعم زفت اتمنا يتعدل بالتوفيق
  17. الاوبجكت رقمه 3458 تستبدل التكستيور بالكود هذا txd = engineLoadTXD("3458.txd") engineImportTXD(txd, 3458)
  18. طلباتك كلها موجوده في موقع اللعبة https://community.multitheftauto.com أبحث ماحد راح يصلح لك شي جاهز
  19. oPIXz

    Help Cant Start Server

    Try to change server port i guess you have 2 servers work with same port
  20. oPIXz

    Tent

    i think you're talk about dayz Tent object ID : 3243 or you cant find it in map editor ( tepee_room_ )
  21. شكراً حبيبي بس انحلت المشكلة في قسم البرمجة العام للفائدة في الكلنت مفروض استعمل بدل اللي فوق local rank = getElementData(getLocalPlayer() , "race rank") or 0 اشوف مشرفين دخلوا ولا احد رد المفروض هم اولى يساعدون الناس
  22. oPIXz

    Player rank

    Thanks alot @solidsnake14 it works now
  23. oPIXz

    Player rank

    Yes, it's custom function
  24. oPIXz

    Player rank

    Hi everyone, guys im tired to show player rank in this code but it doesnt work if localPlayerDistance == g_TotalDistance then return end local fontColor = getColor("font2") local backgroundColor = getColor("background2") local width, height = guiGetScreenSize() dxDrawRectangle(x - 10,localPlayerLevel,21,2,fontColor) if showLocalPlayer then local textWidth = dxGetTextWidth(localPlayerName,fontScale,font) local leftX = x - textWidth - 25 local topY = localPlayerLevel - fontHeight / 2 local Rank = exports["race"]:getPlayerRank(player) drawText(localPlayerName .."*" ..Rank,leftX,topY,fontColor,backgroundColor) how can i show rank of player ? this code works good when i dont use getPlayerRank! can any1 explain to me?
  25. طيب كيف أسويه هنا بال triggerServerEvent ؟
×
×
  • Create New...