oPIXz
Members-
Posts
56 -
Joined
-
Last visited
Everything posted by oPIXz
-
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)
-
i think so that problem with your IMG "map.jpg" try to change it ?
-
https://community.multitheftauto.com/ind ... ils&id=487
-
هذي مشكلة اذكرها يوم كان عندي سيرفر او شي المشكلة تطلع لانك دخلت اللوحة بجهازين أو دخلت بدون ماتضغط لوق اوت حاول اذا دخلت اضغط لوق اوت او مدري اذا عربوها تسجيل خروج ثم جرب ادخل مره ثانية اذا ماظبط افتح فالويندوز تشغيل ثم اكتب الامرين هذي ipconfig /flushdns RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2 كل واحد لحاله
-
شكرا تيتي بس انا اعرف السكربت بس مشكلتي ماعرفت كيف استعمله من الشرح حق السكربت edit: مشكورين يا عيال اشتغل معي مشكلتي كانت كنت اجرب بدون ماشغل السكربت نفسه حق الالوان
-
السلام عليكم شباب عندي سؤال عندي اديت وابي استخدم لوحة الالوان اذا اخترت اللون يطلع لي بالادت r,b,g ؟ كيف استخدم ال colorpicker ؟؟
-
ممتاز , أستمر اللي يشتري نسخه توصله التحديثات الجديدة ؟ اذا توصل ان شاءلله اشتريها تستاهل الدعم
-
Fake resource : https://community.multitheftauto.com/ind ... ls&id=8815 Original : https://community.multitheftauto.com/ind ... ls&id=7880 DONE
-
اذا تستخدم لوحة الاستضافة ماحد يقدر يفيدك هنا كلم دعم الشركة
-
وش تستخدم انت لوحة الاستضافة ولا putty? whoami اذا تستخدم برنامج الاوامر اكتب اذا ماطلع روت يعني معطينك حساب محدود ماتقدر تسوي فيه كل شي
-
هذي صارت لسيرفر الخادم مو للالعاب الغلط مني أعتذر
-
بعضها ماتشتغل عالنظام ديبيان لازم تغير النظام
-
اللوحات كثيرة تدفع ولا شوف هذي مجانية https://gamepanelx.com/ https://gamecp.com/ http://www.openpanel.com/ http://www.bgpanel.net/ http://www.gamecreate.com/ http://www.opengamepanel.org/
-
استضافة حلوه وكل يوم تتطور بس اكون صريح الدعم زفت اتمنا يتعدل بالتوفيق
-
الاوبجكت رقمه 3458 تستبدل التكستيور بالكود هذا txd = engineLoadTXD("3458.txd") engineImportTXD(txd, 3458)
-
طلباتك كلها موجوده في موقع اللعبة https://community.multitheftauto.com أبحث ماحد راح يصلح لك شي جاهز
-
Try to change server port i guess you have 2 servers work with same port
-
i think you're talk about dayz Tent object ID : 3243 or you cant find it in map editor ( tepee_room_ )
-
شكراً حبيبي بس انحلت المشكلة في قسم البرمجة العام للفائدة في الكلنت مفروض استعمل بدل اللي فوق local rank = getElementData(getLocalPlayer() , "race rank") or 0 اشوف مشرفين دخلوا ولا احد رد المفروض هم اولى يساعدون الناس
-
Thanks alot @solidsnake14 it works now
-
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?
-
طيب كيف أسويه هنا بال triggerServerEvent ؟
