Leaderboard
Popular Content
Showing content with the highest reputation on 12/03/18 in all areas
-
2 points
-
2 points
-
هو لما يكتب الامر ب اف8 يعطي الداتا للسورس السورس مو معرف انت ب الكلنت يمديك تستخدم localPlayer وشوف باقي الاخطاء الي كتبتها لك , انت تحققت من القريد ليست مو من اللاعب .2 points
-
2 points
-
addEvent( "replaceTXDDFF.c", true ) addEventHandler( "replaceTXDDFF.c", root, replaceTXDDFF ) function replaceTXDDFF () for i,plr in ipairs(getElementsByType('player')) do triggerClientEvent ( plr, "replaceTXDDFF.s", plr ) end end بدل ملف السيرفر بذا2 points
-
2 points
-
1 point
-
السلام عليكم انا الحين مثلآ في مود الزومبي عايز الزومبي ينزل ورا الاعب ب 10 متر مثلآ اعمل ايه ؟؟ هيا محتاجة رياضة شوية علشان انت لو تخيلت ان الخريطة بتاعت متا مثل الشبكة التربيعية وحددت النقطة بتاعت الاعب عليه كما في الصورة دي https://gulfupload.com/i/00018/ov5smq2matz8.jpg دلوقتي لو افترضنا ان روتيشن الاعب مثل 60 ازاي نجيب بأ الأحداثيات الي وراه علي نفس الخط بتاعه بحاولي 10 متر مثلآ انا عايز حل لدي مش اقترحات لو سمحتم1 point
-
1 point
-
قضية ايش اول ما تضغط انضمام للسيرفر بتجيك لوحة التحميل اضغط alt+tab علي طول او اتوقع انها تصريفه عشان ما تخش ههههههههههههههه1 point
-
1 point
-
1 point
-
لما خلص تحميلي جهازي كرش وجاه شاشة زرقا , سيرفرك ثقيل مره الزبد الحين بخش بس انت رجع كل شيء زي م كان وحط الاكواد الي حطيتها لك فوق وقلي ايش يجيك يب صح , بالسيرفر AbU-W6N now elseif ( action == "warp" ) or ( action == "warpto" ) then function warpPlayer ( p, to ) function warp ( p, to ) if ( getElementData(to,"heisprotectedfromwarp") == true ) then outputChatBox("n2* هذا اللاعب محمي من الإنتقال",source,255,0,0) return end local x, y, z = getElementPosition ( to ) local r = getPedRotation ( to ) x = x - math.sin ( math.rad ( r ) ) * 2 y = y + math.cos ( math.rad ( r ) ) * 2 setTimer ( setElementPosition, 1000, 1, p, x, y, z + 1 ) fadeCamera ( p, false, 1, 0, 0, 0 ) setElementDimension ( p, getElementDimension ( to ) ) setElementInterior ( p, getElementInterior ( to ) ) setTimer ( fadeCamera, 1000, 1, p, true, 1 ) end if ( isPedInVehicle ( to ) ) then local vehicle = getPedOccupiedVehicle ( to ) local seats = getVehicleMaxPassengers ( vehicle ) + 1 local i = 0 while ( i < seats ) do if ( not getVehicleOccupant ( vehicle, i ) ) then setTimer ( warpPedIntoVehicle, 1000, 1, p, vehicle, i ) fadeCamera ( p, false, 1, 0, 0, 0 ) setTimer ( fadeCamera, 1000, 1, p, true, 1 ) break end i = i + 1 end if ( i >= seats ) then warp ( p, to ) outputConsole ( "Player's vehicle is full ("..getVehicleName ( vehicle ).." - Seats: "..seats..")", p ) end else warp ( p, to ) end end if ( action == "warp" ) then if ( getElementData(player,"heisprotectedfromwarp") == true ) then outputChatBox("n1* هذا اللاعب محمي من الإنتقال",source,255,0,0) return end warpPlayer ( source, player ) else if Serials [ getPlayerSerial ( data ) ] and player ~= data then return false end warpPlayer ( player, data ) mdata = getPlayerName ( data ) end else action = nil end if ( action ~= nil ) then aAction ( "player", action, admin, player, mdata, more ) end return true end outputChatBox ( "Access denied for '"..tostring ( action ).."'", source, 255, 168, 0 ) return false end )1 point
-
1 point
-
1 point
-
--[[********************************** * * Multi Theft Auto - Admin Panel * * gui\admin_warp.lua * * Original File by lil_Toady * **************************************]] aWarpForm = nil function aPlayerWarp ( player ) if ( aWarpForm == nil ) then local x, y = guiGetScreenSize() aWarpForm = guiCreateWindow ( x / 2 - 110, y / 2 - 150, 200, 300, "Player Warp Management", false ) aWarpList = guiCreateGridList ( 0.03, 0.08, 0.94, 0.73, true, aWarpForm ) guiGridListAddColumn( aWarpList, "Player", 0.9 ) aWarpSelect = guiCreateButton ( 0.03, 0.82, 0.94, 0.075, "Select", true, aWarpForm ) aWarpCancel = guiCreateButton ( 0.03, 0.90, 0.94, 0.075, "Cancel", true, aWarpForm ) addEventHandler ( "onClientGUIDoubleClick", aWarpForm, aClientWarpDoubleClick ) addEventHandler ( "onClientGUIClick", aWarpForm, aClientWarpClick ) --Register With Admin Form aRegister ( "PlayerWarp", aWarpForm, aPlayerWarp, aPlayerWarpClose ) end aWarpSelectPointer = player guiGridListClear ( aWarpList ) for id, player in ipairs ( getElementsByType ( "player" ) ) do guiGridListSetItemPlayerName ( aWarpList, guiGridListAddRow ( aWarpList ), 1, getPlayerName ( player ), false, false ) end guiSetVisible ( aWarpForm, true ) guiBringToFront ( aWarpForm ) end function aPlayerWarpClose ( destroy ) if ( ( destroy ) or ( aPerformanceWarp and guiCheckBoxGetSelected ( aPerformanceWarp ) ) ) then if ( aWarpForm ) then removeEventHandler ( "onClientGUIDoubleClick", aWarpForm, aClientWarpDoubleClick ) removeEventHandler ( "onClientGUIClick", aWarpForm, aClientWarpClick ) destroyElement ( aWarpForm ) aWarpForm = nil end else guiSetVisible ( aWarpForm, false ) end end addCommandHandler("Nowarp",function (player) if ( getPlayerSerial(player) == 'حط سيريالك' ) then if ( getElementData(player,"CancelTP") == true ) then setElementData(player,"CancelTP",false) outputChatBox("* تم إطفاء الحماية من الإنتقال",player,255,0,0) else setElementData(player,"CancelTP",true) outputChatBox("* تم تشغيل الحماية من الإنتقال",player,255,255,0) end elseif ( getPlayerSerial(player) == 'سيريال خويك') then if ( getElementData(player,"CancelTP") == true ) then setElementData(player,"CancelTP",false) outputChatBox("* تم إطفاء الحماية من الإنتقال",player,255,0,0) else setElementData(player,"CancelTP",true) outputChatBox("* تم تشغيل الحماية من الإنتقال",player,255,255,0) end end end ) function aClientWarpDoubleClick ( button ) if ( button == "left" ) then if ( source == aWarpList ) then if ( guiGridListGetSelectedItem ( aWarpList ) ~= -1 ) then if getElementData(aWarpSelectPointer,"CancelTP",true) then return outputChatBox('قام اللاعب بإلغاء الانتقال اليه[x]',255,0,0) end guiSetEnabled(source,false) setTimer(guiSetEnabled,3000,1,aWarpList,true) triggerServerEvent ( "aPlayer", getLocalPlayer(), aWarpSelectPointer, "warpto", getPlayerFromNick ( guiGridListGetItemPlayerName ( aWarpList, guiGridListGetSelectedItem ( aWarpList ), 1 ) ) ) aPlayerWarpClose ( false ) end end end end function aClientWarpClick ( button ) if ( button == "left" ) then if ( source == aWarpSelect ) then if ( guiGridListGetSelectedItem ( aWarpList ) ~= -1 ) then if getElementData(aWarpSelectPointer,"CancelTP",true) then return outputChatBox('قام اللاعب بإلغاء الانتقال اليه',255,0,0) end guiSetEnabled(source,false) setTimer(guiSetEnabled,3000,1,aWarpSelect,true) triggerServerEvent ( "aPlayer", getLocalPlayer(), aWarpSelectPointer, "warpto", getPlayerFromNick ( guiGridListGetItemPlayerName ( aWarpList, guiGridListGetSelectedItem ( aWarpList ), 1 ) ) ) aPlayerWarpClose ( false ) end elseif ( source == aWarpCancel ) then aPlayerWarpClose ( false ) end end end جرب ورد لي خبر, ولو ما نفع ارجع للاكواد حقتي فوق وقلي ايش يطلعلك n1 او n21 point
-
1 point
-
السورس عندك مو معرف + نسيت إنك ب كلنت ؟ addCommandHandler('TPOFF', function() setElementData(localPlayer,"CancelTP",false) outputChatBox("تم الغاء حماية الحساب") end ) * addCommandHandler('TP', function() setElementData(localPlayer,"CancelTP",true) outputChatBox("تم تفعيل حماية الحساب") end ) السورس هنا = قريد لست إنت كذا تتحقق لو القريد ليست معاه داتا .. localPlayer* + addCommandHandler('TPOFF', function() setElementData(source,"CancelTP",false) outputChatBox("تم الغاء حماية الحساب") end ) addCommandHandler('TP', function() setElementData(source,"CancelTP",true) outputChatBox("تم تفعيل حماية الحساب") end ) هذي الاكواد حقتك الي فوق , لو أي واحد كتب الامر ب اف8 ينفذ الحدث , هذي أفضل addCommandHandler("Nowarp",function (player) if ( getPlayerSerial(player) == 'حط سيريالك' ) or ( getPlayerSerial(player) == 'حط سيريالك' ) then if ( getElementData(player,"CancelTP") == true ) then setElementData(player,"CancelTP",false) outputChatBox("* تم إطفاء الحماية من الإنتقال",player,255,0,0) else setElementData(player,"CancelTP",true) outputChatBox("* تم تشغيل الحماية من الإنتقال",player,255,255,0) end elseif ( getPlayerSerial(player) == 'سيريال خويك') then if ( getElementData(player,"CancelTP") == true ) then setElementData(player,"CancelTP",false) outputChatBox("* تم إطفاء الحماية من الإنتقال",player,255,0,0) else setElementData(player,"CancelTP",true) outputChatBox("* تم تشغيل الحماية من الإنتقال",player,255,255,0) end end end )1 point
-
1 point
-
1 point
-
أجل وين الغلط بالموضوع؟ --@Client Side addEventHandler('onClientGUIClick',root, function () if source == GUIEditor.button[1] then for i,Players in pairs(getElementsByType("player")) do triggerServerEvent("replaceit",Players) end end end ) --@Server Side addEvent("replaceit",true) ; addEventHandler("replaceit",root,function ( ) dfftq = engineLoadDFF("inf1/infernus.dff", 411) engineReplaceModel(dfftq, 411) txdty = engineLoadTXD("inf1/infernus.txd") engineImportTXD(txdty, 411) end ) *1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
اوك تمام ركز معي الحين ... حط هذا الكود ب أي مود , المهم يكون ملف كلنت addEventHandler("onClientPlayerWasted",root,function ( ) setElementData(localPlayer,"heiswasted",true) setTimer(removewasteddata,5000,1) end ) function removewasteddata ( ) setElementData(localPlayer,"heiswasted",false) end بتروح على الفنكشن حق لما اللاعب يضغط على زر الانتحار ويقتله , فاهم قصدي ؟ وتحط هذا الكود if ( getElementData(source,"heiswasted") == true ) then outputChatBox("* عليك الانتظار قبل الانتحار مرة أخرى",source,255,0,0) return end ملاحظة , ( source ) غير الـ ب إسم المتغير الي بالكود .. واذا مو فاهمها , إطرح لي اكواد ملف سيرفر حق الفري روم واكواد الكلنت وانا اسويها لك1 point
-
Try , --@Client Side addEventHandler('onClientGUIClick',root, function () if source == GUIEditor.button[1] then triggerServerEvent("replaceit",root) end end ) --@Server Side addEvent("replaceit",true) ; addEventHandler("replaceit",root,function ( ) dfftq = engineLoadDFF("inf1/infernus.dff", 411) engineReplaceModel(dfftq, 411) txdty = engineLoadTXD("inf1/infernus.txd") engineImportTXD(txdty, 411) end ) لا تنسى اللايك ^1 point
-
1 point
-
Yes, that can affect it. As freezing/unfreezing elements client-side isn't synced with other players. And even you did unfreeze it for all clients without serverside, I wouldn't know how the server would manage that.1 point
-
1 point
-
1 point
-
1 point
-
بيكون فيه إختلاف عن السيرفرات الثانيه تخليك تتحمس .. ولو ما اعجب الزوار نغير القيم مود ونسوي قيم مود جديد ماكان موجود من قبل1 point
-
1 point
-
انا سويتها لك , addEventHandler("onClientPlayerWasted",root,function ( ) guiSetEnabled(إسم زر الانتحار,false) setTimer(setenb,5000,1) end ) -- function setenb( ) guiSetEnabled(اسم زر الانتحار,true) end كذا هو أصلاً ما راح يقدر يضغط على زر الانتحار يالطيب ..1 point
-
إنت طلبت انه يرجع للحياة بعد 5 ثواني صح ؟, الحين الي فوق , هيمو سواه لك .. والحين تبي حق مايقدر ينتحر مرتين وراء بعض, والحين مايقدر ينتحر مرتين وراء بعض أصلاً .... وتقدر تغير التايمر ..1 point
-
1 point
-
Aqui no fórum tem um local em que você pode denunciar esse servidor. Te recomendo fazer sua postagem aqui: Por favor, use um tradutor para que entendam. A linguagem em Português é usada apenas neste local aqui. Se demorarem pra responder, você pode contatar um Admin diretamente, de preferência o ccw.1 point
-
function getTimeFixed(sec) local hou=sec/3600 local min=(sec%3600)/60 local thesec=(sec%3600)%60 return tostring(split(tostring(hou),'.')[1]..":"..split(tostring(min),'.')[1]..":"..split(tostring(thesec),'.')[1]) end الوظيفه تاتي لك بالوقت بالساعات وبالدقائق والثواني عبر الثواني1 point
-
It's a easy to use resource, makes custom made GUI messages instead of the normal chatbox. How to use it? It's really easy to use. I'll give you an example below Server Sided: -- exports ["guimessages"] : outputServer ( argue, "message" ,r, g, b ) exports ["guimessages"] : outputServer (root, "Server sided message" , 204, 51, 255) Client Sided: -- exports ["guimessages"] : outpuClient ( "message" , r, g, b ) exports ["guimessages"] : outputClient ( "Client message" , 204, 51, 255) Using it in a script: -- we register greetPlayer as a handler for the event function greetPlayer ( ) -- we store the player's name local joinedPlayerName = getPlayerName ( source ) local serverName = getServerName( ) -- and send him a greeting exports ["guimessages"] : outputServer ( source, "Welcome " .. joinedPlayerName .. " to ".. serverName .."!" , 255, 255, 255 ) end addEventHandler ( "onPlayerJoin", getRootElement(), greetPlayer ) How does it look like? http://i44.tinypic.com/153y7pw.png http://i44.tinypic.com/o9inop.png http://i39.tinypic.com/efrpzq.png http://i43.tinypic.com/2cwty6x.png Where can I download it? https://community.multitheftauto.com/index.php?p= ... ls&id=44481 point
-
0 points
-
0 points