
MR.S3D
Members-
Posts
732 -
Joined
-
Last visited
Everything posted by MR.S3D
-
مايعطي سياره بعد الفريز ليه ؟ تأكد انك حاط كود السيرفر
-
addEventHandler("onClientGUIClick", root, function() if ( source == ksa1 ) then if not isTimer(timer) then setElementFrozen(localPlayer,true) timer = setTimer(function() setElementFrozen(localPlayer,false) triggerServerEvent("Faisal",localPlayer) end,3000,1) end end end )
-
addEventHandler("onClientGUIClick", root, function() if ( source == btn ) then if not isTimer(timer) then setElementFrozen(localPlayer,true) timer = setTimer(function() setElementFrozen(localPlayer,false) triggerServerEvent("Faisal",localPlayer) end,3000,1) end end end ) Veh = {} addEvent("Faisal",true) addEventHandler("Faisal", root,function() if Veh[source] and isElement( Veh[source] ) then destroyElement(Veh[source]) Veh[source] = nil end Veh[source] = createVehicle(...) if Veh[source] then warpPedIntoVehicle(source,Veh) end end) addEventHandler("onPlayerQuit", root, function() if Veh[source] and isElement( Veh[source] ) then destroyElement(Veh[source]) Veh[source] = nil end end
-
كودك غلط في غلط
-
ياغالي ماهو كذا كذا راح تطفيه او تشغله للروم كله لازم تعدل عالفري روم نفسه عند فتح زر اف1 استخدم المنت داتا وامنع الألمنت داتا في القيم الثاني
-
كذا ياسعد ؟ addEventHandler("onClientGUIClick",root, function() if source == ksa then stopResource('freeroam.zip') end end ) stopResource ذا يستخدم سيرفر وكذا راح تطفيه عن الروم كله وش ناوي تسوي
-
لا ماقصده يطفي المود قصدة يمنع الأزرار استخدم guiSetInputEnabled(true) -- للمنع
-
الله يعافيك ياعسل حياك في أي وقت
-
addEventHandler("onPlayerJoin", root, function() outputChatBox("* عدد أحرف اسم اللاعب = "..string.len(getPlayerName(source)),root,0,255,0,true) end)
-
--string.len( النص اللي تبي تأخذ طوله ) -- مثال : string.len( 's3d' ) > 3 string.len( 'MR.S3D' ) > 6
-
عدلته لك لاني غلطت في الأٍسم اللي عرفته
-
local MaxLength = 30 -- مجموع العدد اللي في الأيديت addEventHandler("onClientGUIChanged", Sam, function() guiSetText(lable, MaxLength- string.len( guiGetText(source))) end,false)
-
addEventHandler('onPlayerLogin', getRootElement(), function () outputChatBox("* [ ".. getPlayerName(source) .." ] Has Logined", source,0, 255, 0, true) end )
-
local MaxLength = 30 -- مجموع العدد اللي في الأيديت addEventHandler("onClientGUIChanged", Sam, function() guiSetText(lable, MaxLength- string.len( guiGetText(source))) end,false)
-
يمكن يفيدك ذا https://community.multitheftauto.com/ind ... ls&id=4600
-
فديو مايمديك ياعسل بس يمديك تجمع صور وتسويها على شكل كود مع تايمر ومع الصوت حقها بحيث تطلع لك في النهاية على شكل فديو تحياتي
-
أخوي انا مجرب المود وشغال معي لازم تصدم عشان تصير السرعة 60 + الكود ملف سيرفر
-
أخوي على فكرة الكود شغال ويحط اخر حد للسرعة 60 يعني مايحط سرعتك 60 يحط اخر حد سرعة تقدر تمشيه 60 ولو شغلت عداد راح تلاحظ
-
local timer = {} addEventHandler('onVehicleDamage',root, function ( ) checkTimer(source) end ) function checkTimer(Car) if not isElement(Car) then return end if not timer[Car] then timer[Car] = {} timer[Car]['timers'] = 0 end if not isTimer(timer[Car]['timers']) then timer[Car]['timers'] = setTimer ( function ( Vehicle ) if isElement(Vehicle) then setVehicleHandling ( Vehicle,'maxVelocity',60 ) end end, 5000, 1, Car) end end
-
الحل أول شي طف الروم لازم تطفي الروم قبل لاتعدل acl بعد ماتطفي الروم وتتأكد انه طفى تروح الى ملف acl.xml تبدله بذا كامل "Everyone"> "Default"/> "user.*"/> "resource.*"/> "Moderator"> "Moderator"/> "resource.mapcycler"/> "resource.mapmanager"/> "resource.resourcemanager"/> "resource.votemanager"/> "SuperModerator"> "Moderator"/> "SuperModerator"/> "Admin"> "Moderator"/> "SuperModerator"/> "Admin"/> "RPC"/> "resource.admin"/> "resource.webadmin"/> "Console"> "Moderator"/> "SuperModerator"/> "Admin"/> "RPC"/> "user.Console"/> "RPC"> "RPC"/> "MapEditor"> "Default"/> "MapEditor"/> "resource.editor_main"/> "resource.edf"/> "raceACLGroup"> "Default"/> "raceACL"/> "resource.race"/> "DevGroup"> "DevACL"/> "Default"> "general.ModifyOtherObjects" access="false"/> "general.http" access="false"/> "command.start" access="false"/> "command.stop" access="false"/> "command.stopall" access="false"/> "command.gamemode" access="false"/> "command.changemode" access="false"/> "command.changemap" access="false"/> "command.stopmode" access="false"/> "command.stopmap" access="false"/> "command.skipmap" access="false"/> "command.restart" access="false"/> "command.refresh" access="false"/> "command.refreshall" access="false"/> "command.addaccount" access="false"/> "command.delaccount" access="false"/> "command.debugscript" access="false"/> "command.chgpass" access="false"/> "command.loadmodule" access="false"/> "command.upgrade" access="false"/> "command.mute" access="false"/> "command.crun" access="false"/> "command.srun" access="false"/> "command.run" access="false"/> "command.unmute" access="false"/> "command.kick" access="false"/> "command.ban" access="false"/> "command.banip" access="false"/> "command.unbanip" access="false"/> "command.reloadbans" access="false"/> "command.shutdown" access="false"/> "command.install" access="false"/> "command.aexec" access="false"/> "command.whois" access="false"/> "command.whowas" access="false"/> "function.executeCommandHandler" access="false"/> "function.setPlayerMuted" access="false"/> "function.addAccount" access="false"/> "function.addBan" access="false"/> "function.removeBan" access="false"/> "function.removeAccount" access="false"/> "function.setAccountPassword" access="false"/> "function.kickPlayer" access="false"/> "function.banIP" access="false"/> "function.banPlayer" access="false"/> "function.banSerial" access="false"/> "function.getBansXML" access="false"/> "function.unbanIP" access="false"/> "function.unbanSerial" access="false"/> "function.reloadBans" access="false"/> "function.getClientIP" access="false"/> "function.setServerPassword" access="false"/> "function.getServerPassword" access="false"/> "function.callRemote" access="false"/> "function.fetchRemote" access="false"/> "function.startResource" access="false"/> "function.stopResource" access="false"/> "function.restartResource" access="false"/> "function.createResource" access="false"/> "function.copyResource" access="false"/> "function.addResourceMap" access="false"/> "function.addResourceConfig" access="false"/> "function.removeResourceFile" access="false"/> "function.setResourceDefaultSetting" access="false"/> "function.removeResourceDefaultSetting" access="false"/> "function.redirectPlayer" access="false"/> "function.aclReload" access="false"/> "function.aclSave" access="false"/> "function.aclCreate" access="false"/> "function.aclDestroy" access="false"/> "function.aclSetRight" access="false"/> "function.aclRemoveRight" access="false"/> "function.aclCreateGroup" access="false"/> "function.aclDestroyGroup" access="false"/> "function.aclGroupAddACL" access="false"/> "function.aclGroupRemoveACL" access="false"/> "function.aclGroupAddObject" access="false"/> "function.aclGroupRemoveObject" access="false"/> "function.refreshResources" access="false"/> "function.setServerConfigSetting" access="false" /> "function.updateResourceACLRequest" access="false" /> "command.aclrequest" access="false" /> "Moderator"> "general.ModifyOtherObjects" access="false"/> "command.gamemode" access="true"/> "command.changemode" access="true"/> "command.changemap" access="true"/> "command.stopmode" access="true"/> "command.stopmap" access="true"/> "command.skipmap" access="true"/> "command.mute" access="true"/> "command.unmute" access="true"/> "command.whois" access="true"/> "command.whowas" access="true"/> "function.setPlayerMuted" access="true"/> "function.kickPlayer" access="true"/> "function.banIP" access="true"/> "function.banPlayer" access="true"/> "function.banSerial" access="true"/> "function.getBansXML" access="true"/> "function.unbanIP" access="true"/> "function.unbanSerial" access="true"/> "function.getClientIP" access="true"/> "function.startResource" access="true"/> "function.stopResource" access="true"/> "function.restartResource" access="true"/> "function.redirectPlayer" access="true"/> "SuperModerator"> "general.ModifyOtherObjects" access="false"/> "command.start" access="true"/> "command.stop" access="true"/> "command.restart" access="true"/> "command.kick" access="true"/> "command.ban" access="true"/> "command.banip" access="true"/> "command.unbanip" access="true"/> "command.reloadbans" access="true"/> "command.refresh" access="true"/> "command.refreshall" access="true"/> "command.loadmodule" access="true"/> "command.addaccount" access="true"/> "command.delaccount" access="true"/> "command.chgpass" access="true"/> "function.addAccount" access="true"/> "function.removeAccount" access="true"/> "function.setAccountPassword" access="true"/> "Admin"> "general.ModifyOtherObjects" access="true"/> "general.http" access="true"/> "command.shutdown" access="true"/> "command.install" access="true"/> "command.aexec" access="true"/> "command.debugscript" access="true"/> "command.upgrade" access="true"/> "command.crun" access="true"/> "command.srun" access="true"/> "command.run" access="true"/> "function.addBan" access="true"/> "function.removeBan" access="true"/> "function.reloadBans" access="true"/> "function.executeCommandHandler" access="true"/> "function.setServerPassword" access="true"/> "function.getServerPassword" access="true"/> "function.createResource" access="true"/> "function.copyResource" access="true"/> "function.addResourceMap" access="true"/> "function.addResourceConfig" access="true"/> "function.removeResourceFile" access="true"/> "function.setResourceDefaultSetting" access="true"/> "function.removeResourceDefaultSetting" access="true"/> "function.aclReload" access="true"/> "function.aclSave" access="true"/> "function.aclCreate" access="true"/> "function.aclDestroy" access="true"/> "function.aclSetRight" access="true"/> "function.aclRemoveRight" access="true"/> "function.aclCreateGroup" access="true"/> "function.aclDestroyGroup" access="true"/> "function.aclGroupAddACL" access="true"/> "function.aclGroupRemoveACL" access="true"/> "function.aclGroupAddObject" access="true"/> "function.aclGroupRemoveObject" access="true"/> "function.refreshResources" access="true"/> "function.setServerConfigSetting" access="true" /> "function.updateResourceACLRequest" access="true" /> "command.aclrequest" access="true" /> "RPC"> "function.callRemote" access="true"/> "function.fetchRemote" access="true"/> "MapEditor"> "general.ModifyOtherObjects" access="true"/> "function.startResource" access="true"/> "function.stopResource" access="true"/> "function.restartResource" access="true"/> "function.createResource" access="true"/> "function.copyResource" access="true"/> "function.renameResource" access="true"/> "function.deleteResource" access="true"/> "function.addResourceMap" access="true"/> "function.addResourceConfig" access="true"/> "function.removeResourceFile" access="true"/> "function.setResourceDefaultSetting" access="true"/> "function.removeResourceDefaultSetting" access="true"/> "function.xmlLoadFile" access="true"/> "raceACL"> "general.ModifyOtherObjects" access="true"/> "function.xmlLoadFile" access="true"/> "function.startResource" access="true"/> "function.stopResource" access="true"/> "function.restartResource" access="true"/> "DevACL"> "resource.performancebrowser.http" access="true"> "resource.ajax.http" access="true"> ولاتنسى تضيف اسم حسابك وبعدها شغل الروم واذا مازبطت الطريقة احذف مود أدمن وركب واحد جديد
-
timer = {} -- ذا يصنع يجدول جديد وبالنسبة لكودي يسوي التايمر وكل ماتصدم يتأكد اذا التايمر مو موجود يسوي تايمر جديد
-
function sayMessage(source, command, ...) local theText = {...} local text = table.concat(theText, " ") local playerAcc = getPlayerAccount(source) if not isGuestAccount(playerAcc) then if isObjectInACLGroup("user."..getAccountName(playerAcc), aclGetGroup("Admin")) then if theText then if not (text == "") then outputChatBox("#2F4F4F[Administrador] "..getPlayerName(source)..": #2F4F4F"..text, getRootElement(), 0,153,255, true) else outputChatBox("Use: /ALERTA ",source, 0,153,255,true) end end end end end addCommandHandler("alerta", sayMessage)
-
أخوي حدث onPlayerJoin معرف له source تلقائي --The source of this event is the player who joined. local Team2 = createTeam ( "Player", 0, 255, 0 ) addEventHandler ( "onPlayerJoin", root, function () setPlayerTeam(source,Team2) end )