Leaderboard
Popular Content
Showing content with the highest reputation on 13/03/18 in all areas
-
سلام عليكم قبل فترة يمكن 3 شهور سويت مود المعرض والحين الي فضيت عشان اعرضه للبيع , مالكم بالطويلة ذا الفيديو بالنسبة للطريقة الدفع باي بال او تحويل بنكي ( الراجحي ) ء وبالنسبة للسعر بإذن الله مانختلف فيه skype : live:default.4190 وبالتوفيق للجميع ..2 points
-
بسيطه وتافهه local adminpanelname='admin' addCommandHandler('Nowarap',function(plr) local d=getElementData(plr,'canwarp') if d then removeElementData(plr,'canwarp') else setElementData(plr,'canwarp') end end) function onPreFunction( sourceResource, functionName, isAllowedByACL, luaFilename, luaLineNumber, ... ) local args = { ... } local res=sourceResource and getResourceName(sourceResource) if res==adminpanelname then if functionName=='setElementPosition' and #args>=4 and isElement(args[1]) and getElementData(args[1],'canwarp') then return 'skip' elseif functionName=='setElementInterior' and (#args>=5 or #args>=2) and isElement(args[1]) and getElementData(args[1],'canwarp') then return 'skip' elseif functionName=='setElementDimension' and #args>=2 and isElement(args[1]) and getElementData(args[1],'canwarp') then return 'skip' end end end addDebugHook( "preFunction", onPreFunction) يحتاج فقط يغير اسم اللوحه حقة الادمن الموجوده في الكود اعلاه باسم لوحة الادمن اللي عنده انا مسويها افتراضيا admin انا كنت اعتقد عموما يبي يمنعها عموما2 points
-
Hello! I'm just a newbee in MTA, now I'm learning the wiki. I've found the function SetElementDimension with description for the argument Dimension: "You can also use -1 to make the element visible in all dimensions (only valid to objects)." So, I have a question, why only for the objects? Why not for peds(players) and vehicles? So, it would be cool to have a dimension that everyone will see but won't see each other, like if two players would be in one apartments, but in two different dimensions(eg. 1 and 2), so they wouldn't see each other, like they are in two different apartments, but they would be able to see everything that happens in the street(-1 dimension), cars, walking peds and so on. At least, it seems to be cool :) If I'm not mistaken, the apartments in GTA Online works this way.1 point
-
ركز وشوف .. كم نقطة سوداء بالصورهه ؟؟؟ قبل م تجاوب ركز ب النقاط وحط عينك فيها كويسسسسس الي يجاوب صح له اندومي1 point
-
بسم الله الرحمن الرحيم الصلاة والسلام على اشرف الانبياء والمرسلين نبينا محمد عليه افضل الصلاة واتم التسليم اليوم ستصدر لعبة بـ أسم [ Darwin Project ] ETC في المساء ساعة 3 بتوقيت على STEAM, Xbox One شرح نظام اللعب: ترسبن بمكان عشوائي وتحاول انك تكون الناجي الوحيد بأستخدام الموارد وتدفئ نفسك من البرودة القاسية والأبتعاد عن المناطق المحظورة حيث انها البرودة فيها جدا قاسية القوانين: - سوف ينزل 10 لاعبون في مناطق عشوائية - توجد 7 مناطق وفي كل فترة زمنية يتم حظر أحد المناطق عشوائياً - ( توجد 3 موارد : ( خشب, وجلد, وقطع كهربائية الخشب الأكثر سهولة في الأيجاد وكذلك الجلد اما القطع الكهربائية فهي تتواجد في أحد المناطق السبع ولها فائدة كبيرة بحيث أنها تمكنك من الاختفاء والانتقال والخ اما الخشب فتصنع به النار والأسهم وأيضاً بعض الأفخاخ اما الجلد فتصنع به أحذية ورداء يخفف البرد عنك - ابق الناجي الوحيد وسوف تفوز مميزات اللعبة: - يوجد معلق في المباراة - نظام فريد وجديد - جرافيكس ورسم جيد - تواجد سيرفرات عديدة سعر اللعبة: 15 دولار فيديو تشويقي للعبة : قيم بلاي للعبة : ( وفي الختام انصحكم تشترونها ( نصيحة من مجرب ( أبرئ ذمتي من يستمع لموسيقى اللعبه ) والسلام عليكم1 point
-
1 point
-
1 point
-
addEventHandler( "onMarkerHit", resourceRoot, function( hitPlayer ) if getElementType(hitPlayer) == "player" then local g_team = getPlayerTeam(hitPlayer) local marker_id = getElementID(source) outputChatBox("@marker_id: "..tostring(marker_id)) if g_team and getTeamName(g_team) == marker_id:sub( 1, #marker_id-2 ) then outputChatBox("@teamName: "..tostring(getTeamName(g_team))) skins( hitPlayer, marker_id:sub( #marker_id ) ) end end end ) function skins(thePlayer, index) local team = getPlayerTeam( thePlayer ) if not team or not index then return end outputChatBox("@index: "..tostring(index)) outputChatBox("@thePlayer: "..tostring(thePlayer)) local table_data = pos[getTeamName(team)] or false outputChatBox("@table_data: "..tostring(table_data)) if table_data and table_data[index] then outputChatBox("@table_data[index]: "..tostring(table_data[index])) local skinID = table_data[index][4] -- skins 276, 234 outputChatBox("@skinID: "..tostring(skinID)) setElementModel(thePlayer, skinID) outputChatBox (getPlayerName(thePlayer).." você trocou sua skin",thePlayer, 0, 255, 0,true) end end Faça um teste usando essas duas funções e mostre aqui todas saídas no chat, por favor.1 point
-
1 point
-
1 point
-
لا يمكن بعضهم مايعرف وش فالسيرفر ف بعد مايشوف السيرفر اذا اعجبه يقبل واذا ماعجبه الله معاه1 point
-
سهله بس الافضل لو اللاعب مو مسجل مايقدر يتكلم او يسوي مهمات وعند التسجيل يكون فيه شروط واساله1 point
-
1 point
-
1 point
-
1 point
-
اوف م اقدم المنششور ابداع كالعادهه1 point
-
1 point
-
انا قلت له يحط الاكواد فيه ؟ قلتله يروح الملف عشان يجيب اسم لوحة الادمن ي فهيم ويحطه مكان اسم اللوحة الي معرفه ماستر , ركز1 point
-
1 point
-
1 point
-
والله ياخوي مع احترامي لك , لو انت تجيب مودات من النت وتعدل عليها من الملف هذي مشكلتك المفروض انك تعدل عليها وانت تصمم اللوحة ," ع كل حال سوي الكود الي حطه لك أخونا فوق , هذا الكود يخلي لو طلع الكلام عن اللوحة ينزل لتحت1 point
-
اول شيء حياك الله .. الحين نفرض إنه فيه إيدت يكتب فيه الشي الي يبي الشخص يكتبه بالقريد صح ؟ . وفي زر مثلا اسمه : اضافة شوف هذي الاكواد وبتفهم علي من الشرح addEventHandler("onClientGUIClick",root,function ( ) if ( source == SendButtonName ) then -- حط اسم زر الاضافة SendButtonName مكان if ( guiGetText(EditBoxName) == "" ) then return outputChatBox("* قم بإضافة كلام لاضافته [x]",255,0,0) end -- تحقق لو إن الايدت فاضي , وغير إسم الايدت local Text = guiGetText(EditBoxName) -- نجلب النص ونعرفه , لا تنسى تغير اسم الايدت local Row = guiGridListAddRow ( GridListName ) -- نعرف الرو , لا تنسى تغير إسم القريد لست guiGridListSetItemText ( GridListName, Row, 1, Text, false, false ) -- كذا نكون ضفنا الكلام للقريد لست , لا تنسسسسى تغير اسم القريد outputChatBox("* تم اضافة الكلام[x]",255,255,0) end end ) بلتوفيق ..1 point
-
Tente isto: -- criando as marcas function createMarkersSkins () for k, v in pairs(pos) do for i=1, #v do local x, y, z = unpack(pos[k][i]) setElementID( createMarker(x, y, z, "cylinder", 1.5, 200 ,200, 0, 155), k.."-"..tostring(i) ) end end end addEventHandler("onResourceStart", resourceRoot, createMarkersSkins) addEventHandler( "onMarkerHit", resourceRoot, function( hitPlayer ) if getElementType(hitPlayer) == "player" then local g_team = getPlayerTeam(hitPlayer) local marker_id = getElementID(source) if g_team and getTeamName(g_team) == marker_id:sub( 1, #id-2 ) then skins( hitPlayer, marker_id:sub( #id ) ) end end end ) function skins(thePlayer, index) local team = getPlayerTeam( thePlayer ) if not team or not index then return end local table_data = pos[getTeamName(team)] or false if table_data and table_data[index] then local skinID = table_data[index][4] -- skins 276, 234 setElementModel(thePlayer, skinID) outputChatBox (getPlayerName(thePlayer).." você trocou sua skin",thePlayer, 0, 255, 0,true) end end Se não funcionar, digite /debugscript 3 e veja se o debug mostra algum erro.1 point
-
1 point
-
@Rakan# ما اتوقع له داعي اللوب function replaceTXDDFF_Server () triggerClientEvent ( root, "replaceTXDDFF.s",root ) end addEvent( "replaceTXDDFF.c", true ) -- addEvent فقط addEventHandler( "replaceTXDDFF.c", root, replaceTXDDFF_Server ) -- نفس الوضع في ملف كلينت function replaceTXDDFF_Client () InfiTexture = engineLoadTXD ( "inf/infernus.txd" ) engineImportTXD ( InfiTexture, 411 ) InfiModel = engineLoadDFF ( "inf/infernus.dff", 411 ) engineReplaceModel ( InfiModel, 411 ) end addEvent( "replaceTXDDFF.s", true ) -- addEvent فقط addEventHandler( "replaceTXDDFF.s", root, replaceTXDDFF_Client )1 point
-
1 point
-
Creating your own MTA server with many scripts, yes. New Video!1 point
-
MTA has one of the best Anti cheat systems any game has ever had period. You don't really have to worry about any of this sort of stuff unless they figure out some sort of http export or something that they can get into.1 point
-
MTA will reload the script, if the client edits it, so you don't need to worry about that unless you are dealing with a very expert hacker, which you won't be able to stop anyway. You should always try to keep important logic on server-side, if that's not an option then keep it on client-side.1 point
-
1 point
-
1 point
-
Só colocar dentro da própria tabela das coordenadas: {2346.400390625,-1272.5,26.89999961853, 101}, -- sobre {2339.8999023438,-1272.5,26.89999961853, 102}, {2333.5000000000,-1272.5,26.89999961853, 103}, {2325.400390625,-1272.5,26.89999961853, 104}, -- function skins(thePlayer) local team = getPlayerTeam( thePlayer ) if not team then return outputChatBox( "Você não está em nenhuma equipe", thePlayer ) end local table_data = pos[getTeamName(team)] or false if table_data then local skinID = table_data[1][4] -- skin 101 setElementModel(thePlayer, skinID) outputChatBox (getPlayerName(thePlayer).." você trocou sua skin",thePlayer, 0, 255, 0,true) end end1 point
-
Esses grupos de coordenadas seriam para respectivos times ? Se eu entendi bem, você pode fazer assim: local pos = { ["SOBREVIVENTE"]= { {2346.400390625,-1272.5,26.89999961853}, -- sobre {2339.8999023438,-1272.5,26.89999961853}, {2333.5000000000,-1272.5,26.89999961853}, {2325.400390625,-1272.5,26.89999961853}, teamSkin = 71 }, ["ASSASSINO"]= { {2346.400390625,-1272.5,26.89999961853}, -- assssino {2339.8999023438,-1272.5,26.89999961853}, {2333.5000000000,-1272.5,26.89999961853}, {2325.400390625,-1272.5,26.89999961853}, teamSkin = 73 }, } -- criando as marcas function createMarkersSkins () for k, v in pairs(pos) do for i=1, #v do local x, y, z = unpack(pos[k][i]) setElementID( createMarker(x, y, z, "cylinder", 1.5, 200 ,200, 0, 155), k ) end end end addEventHandler("onResourceStart", resourceRoot, createMarkersSkins) addEventHandler( "onMarkerHit", resourceRoot, function( hitPlayer ) if getElementType(hitPlayer) == "player" then local g_team = getPlayerTeam(hitPlayer) if g_team and getTeamName(g_team) == getElementID(source) then end end end ) function skins(thePlayer) local team = getPlayerTeam( thePlayer ) if not team then return outputChatBox( "Você não está em nenhuma equipe", thePlayer ) end local table_data = pos[getTeamName(team)] or false if table_data then setElementModel(thePlayer, table_data.teamSkin) outputChatBox (getPlayerName(thePlayer).." você trocou sua skin",thePlayer, 0, 255, 0,true) end end Coloquei identificação para as marcas, caso seja necessário obter qual o time que ela pertence.1 point
-
2 GB بس جهازي مستعمل وله اكثر من 5 سنين وشريته مستعمل أصلن .. أعتقد إن الرامات يبيلهم تغيير .. ماتو خلاص1 point
-
مدري ليه جهازي لما ادخل سيرفرك يطفي ويجيه زرقاء . المهم , شيء عجزت عنه كلم أسطووره أل يو إي , ماستر في الخاص يعطيك الصافي @Master_MTA1 point
-
مالي خبرة كبيرة في تصميم الويب انا مبرمج java لكن اعطيتك الفكره ابحث باليوتيوب بتلاقي كل شي1 point
-
Intro I'm dccs120, one of the owners of Blackout, a 7 year old zombie server. Started playing MTA in 2011. Media Blackout is a Zombies/TDM/RPG/RP server. This project has started as "Blackout Zombie Server" in early 2011 and has grown a lot ever since. Some people have taken it over as the time went on and it eventually became one of the biggest zombie servers in MTA in 2013. There are events, defending safezones, defeating a Boss, clans. There's a huge map full of created bases and zones to contemplate. You can just freeroam and kill hordes of zombies and maybe get your car wrecked in the way to make things more challenging. All the scripts that don't come with MTA were homemade. Our goal with Blackout is to provide a great gameplay experience for the RPG/zombies lovers out there. Transparency, equal treatment, professionalism are the laws here. Server info IP: mtasa://45.62.249.201:22004 Web page | My email | Youtube | Discord | Steam | Facebook I hope you liked the project and I'll probably see you online soon! Regards, dccs1201 point
-
1 point
-
local vehicle = getPedOccupiedVehicle(source) local x,y,z = getElementPosition(vehicle) local _,_,rz = getElementRotation(vehicle) x = 10 * math.cos(math.rad(rz+90)) + x y = 10 * math.sin(math.rad(rz+90)) + y markers[source] = createMarker(x,y,z-1,'cylinder',4,255,255,255,255)1 point
-
0 points
-
0 points
-
0 points
-
0 points