
MR.S3D
Members-
Posts
732 -
Joined
-
Last visited
Everything posted by MR.S3D
-
مبروك كلهم يستاهلون
-
ان شاء الله يحط الشخص المناسب
-
تسلم والله ما انسى صنيعك هلا وسهلا
-
------------------ ---Server ----------------- addEventHandler("onPlayerJoin", getRootElement(), ---عند دخول اللاعب الى السيرفر function() fadeCamera(source, true, 5) setCameraMatrix(source, 3038.77295, -3002.36108, 111.67200, 3134.92310, -3012.41260, 86.09600) end ) addEvent('spawn', true) addEventHandler('spawn', root, function() IdSkin = 46 --رقم الشخصية local x, y, z = 55.179416656494, 453.06640625, 3.7078123092651 -- احداثيات لما يخلص تحميل اللاعب spawnPlayer ( source,x, y, z, 0, IdSkin, 0, 1) setCameraTarget(source, source) showChat(source, true) setTimer ( fadeCamera, 50, 1, source,false, 1 ) setTimer ( fadeCamera, 100, 1, source,true, 3 ) end ) ------------------ ---Client ----------------- addEventHandler("onClientResourceStart",getResourceRootElement(),function() triggerServerEvent("spawn",getLocalPlayer()) ---اذا خلص تحميل اللاعب يرسل امر للسيرفر end)
-
ياهلا وسهلا
-
http://www.mediafire.com/?b4ifpbphiwqxott حمل المود ذا وحطه في السيرفر
-
الكود الي معطيك كامل مغير حطه في ملف الكلنت وشغل المود يا عاشق المود مافيه لا ملف واحد الي هو server خذ ملف كلنت حق اي مود وسوي اللي قال عليه عاشق وحطه في مودك الحالي وحط في الميتا حقت المود meta
-
addEventHandler("onClientGUIClick",btn1, ---عند الضغط عالزر أو الصورة -- btn1 اسم الزر function() executeCommandHandler("lights",math.random(1,2)) --اسم أمر اف8 lights --- end,false )
-
bindKey لفتح أو اغلاق النافذة [url=https://wiki.multitheftauto.com/wiki/BindKey]https://wiki.multitheftauto.com/wiki/BindKey[/url] guiSetVisible لأخفاء النافذة او اظهارها [url=https://wiki.multitheftauto.com/wiki/GuiSetVisible]https://wiki.multitheftauto.com/wiki/GuiSetVisible[/url] showCursor اظهار الماوس أو اخفائه [url=https://wiki.multitheftauto.com/wiki/ShowCursor]https://wiki.multitheftauto.com/wiki/ShowCursor[/url] onClientGUIClick حدث عند الضغط عالصورة او الزر [url=https://wiki.multitheftauto.com/wiki/OnClientGUIClick]https://wiki.multitheftauto.com/wiki/OnClientGUIClick[/url]
-
as solid say where the marker? https://wiki.multitheftauto.com/wiki/CreateMarker
-
Client Side local starttick, currenttick local player = getLocalPlayer() addEventHandler("onClientRender",getRootElement(), function() if not starttick then starttick = getTickCount() end currenttick = getTickCount() if currenttick - starttick >= 1000 then setElementData(player,"Money",getPlayerMoney( player ) ) ---- set Player Money in the Data starttick = getTickCount() end end ) function updateMoney() for k, v in ipairs(getElementsByType('player')) do local money = getPlayerMoney(v) --- get the money for all player setElementData(v,"Money",money ) --- then put in data end end setTimer(updateMoney, 1000000, 0) Server Side addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function() call(getResourceFromName("scoreboard"),"addScoreboardColumn","Money") --Add it to scoreboard end )
-
function message () local hour, minutes = getTime() if (hour >= 20 and minutes == 30 ) then outputChatBox("#D21D1D[Reporte #D21D1DMilitar]: La Noche Comenzo.", getRootElement(), 255, 0, 0 ) elseif (hour >= 6 and minutes == 0 ) then outputChatBox("#D21D1D[Reporte #D21D1DMilitar]: Ah amanecido. #F2184BHora #F5F5FF06:00", getRootElement(), 255, 0, 0 ) end end setTimer(message, 500, 0) --- 0 it infinite timer
-
I've been sending reports and i haven't seen any action about them and I daily at Forum So i Will Transpire my self
-
استمر يالغالي إلى الأمام موفق
-
ههههههههههههههههههههههههههههه عز الله تغدو علي أحلى غدا ض1
-
احصائية جيدة أهنيك على تواصلك الدائم فعلا انسان مجتهد اتمنى لك التوفيق
-
Thanx, it worked looks nice now
-
What is the problem in your code؟
-
You should be look at all the resources in the file server for this line @server.lua:242: Bad argument @ 'getElementData' [Expected element at argument 1]
-
this will be use to get Speed local vx,vy,vz = getElementVelocity(getPedOccupiedVehicle(Player)) --- Element local Speed = math.sqrt(vx^2 + vy^2 + vz^2) * 161 --- Measuring speed ALL elemnt here https://wiki.multitheftauto.com/wiki/Element this in wiki [url=https://wiki.multitheftauto.com/wiki/GetElementVelocity]https://wiki.multitheftauto.com/wiki/GetElementVelocity[/url]
-
i have a good knowledge of english , arabic , and scripting and i will be glad to help in the forum..