Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/04/19 in all areas

  1. أعدت كتابة الفنشكن وخليته يقبل عدد لامحدود من البيانات ويقبل الالمنت داتا PLAYER_DATA = { "serial", "money", "team" = function(player) local team = getPlayerTeam(player) return team and getTeamName(team) end, "&level", "&clan", "name", "wantedLevel", "&kills", tag = function(player) return getPlayerName(player):match "^%b[]" end, -- u cann add more... -- x = getPlayerX -- &x = getElementData(player, x) -- x() = custom function } function getPlayerInfo(player) if isElement(player) and getElementType(player) == "player" then local data = [] for k, v in pairs(PLAYER_DATA) do local pre = v:sub(1, 1) == "&" if pre then data[v:sub(2)] = getElementData(player, v) elseif type(v) == "function" then data[k] = v(player) else data[v] = _G["getPlayer"..v:gsub("^%a", string.upper)](player) end end return data end end اختصرها بtable.sort for index = 1 , #elements do table.insert(element, getDistanceBetweenPoints3D( x , y , z , getElementPosition( elements[ index ] ) ) end table.sort(element) return element[1];
    3 points
  2. خلي الحدث سيرفر وسوي ترايقر للكلينت افضل عشان الناس تشوف السيارة تمشي على الماء وتنحل المشكلة
    1 point
  3. 1 point
  4. عندي فكرة افضل انت تسوي حدث اول ما اللاعب يدخل سيارة يتحقق من الايدي حقها ويفعل له المشي علي المويه وهذي الفنكشنات الي بتحتاجها "onClientVehicleEnter" getElementModel setWorldSpecialPropertyEnabled حاول وعطني خبر
    1 point
  5. Which stolen content, granddad? You look a bit pale, is it because of the people leaving your server due to boredom of having the same scripts for ages? So you come and try to destroy other people's work? What kind of MTA Moderator are you? Your age might be affecting you already... Hmn, I don't know! ? If we are really using stolen content, prove it, instead of saying stuff when you don't have any kind of proof supporting that comment. Anyhow, our topic will be updated shortly. It's safe to say that we're proguessing significantly with the server, having 40 players in-game in the opening day of our Beta 1.2v. Join us: mtasa://51.77.212.124:1119
    1 point
  6. يسلموووا خوي علي الرد الجمميل ♥ مرورك أجمل يالغالي
    1 point
  7. مود جميل اخي استمر ?
    1 point
  8. acls = { "Console", "Admin", -- Mais quantas quiser... } function teleprotect (thePlayer) local Deadusergroup = getAccountName(getPlayerAccount(thePlayer)) for _, acl in ipairs (acls) do if isObjectInACLGroup("user."..Deadusergroup, aclGetGroup(acl)) then setElementPosition (thePlayer, 1541.3057861328, -1366.1774902344, 329.796875) -- outputChatBox ('#000000[ #ff0000 /Comando #000000 ]#ffffff ' .. getPlayerName(thePlayer) .. ' #00FF00Foi para Base #000000[ Nome #000000]', getRootElement(), 255, 255, 255, true) return end end -- outputChatBox (getPlayerName(thePlayer) .. '#ff0000Somente Quem tem permissão da #000000[ Nome #000000 ] #ff0000Pode Ir para Base', source, 255, 255, 255, true) end addCommandHandler ("prisao", teleprotect)
    1 point
  9. function check ( player, seat, jacked ) if getElementData(source, "privado") then if getElementData(source, "owner") ~= getAccountName(getPlayerAccount(player)) then cancelEvent() outputChatBox("Este vehículo no es tuyo.", player) end end end addEventHandler ( "onVehicleStartEnter", getRootElement(), check ) function aduenar(thePlayer, seat, jacket) local playerName = getPlayerName(thePlayer) local playerAccount = getAccountName(getPlayerAccount(thePlayer)) or false if playerAccount then setElementData(source,"privado",true) setElementData(source,"owner",playerAccount) outputChatBox("Este auto ahora es de: "..playerName, thePlayer) end end addEventHandler ( "onVehicleEnter", getRootElement(), aduenar ) Not tested. Anyways you should avoid using Ñ. Might it drops you an error while players are not logged (Guest) No lo he testeado, tal vez te salte un error en el check con un jugador q no este logeado.
    1 point
  10. مود رئع من شخص اروع استمر اخي
    1 point
  11. Just for the record; Servers can enable SD #15 from https://wiki.multitheftauto.com/wiki/Anti-cheat_guide for additional protection, because disabled driver signing can make cheating easier. If you're getting kicked for SD #15 SIGN, then a server has decided to do so. DSE (driver signing enforcement) can have been turned off on your PC for various reasons, such as; - Virus/malware infection (the virus can disable it, so it can better execute its malicious code) - Manually by you, or due to a pre-modded Windows installation - Custom drivers or software that require signing to be turned off. Avoid using modded drivers, use official ones, and then you can easily re-enable signing. Furthermore, using software that ships untrusted, custom drivers like that presents you with a broad security risk. Generally, serious software publishers (legit ones) don't need to do that. Solution (how to fix it, so you won't get kicked on this particular server again): open command prompt (cmd) "as Administrator" and enter the following commands: BCDEDIT /set NOINTEGRITYCHECKS OFF BCDEDIT /set TESTSIGNING OFF Restart your PC, and it should be resolved. If it's not resolved, this means re-enabling signing was unsuccessful, probably because something on your PC has (automatically, or in a short while) disabled driver signing again. This is most likely the work of a virus or software running on your PC In the background, which detects that signing has been enabled (which would obstruct its malicious activities), and makes sure to turn it off again. If this happens, (you still get kicked for SD #15 SIGN after trying to enable signing using the above CMD commands) then run a full antivirus and malware scan and think of any untrusted (PUP) software running, or ask for help on a dedicated tech support forum such as https://www.bleepingcomputer.com/forums/ For anyone (like server owners) reading this and possibly getting suspicious of someone; Please note that only around 0.5% of all MTA players worldwide have disabled driver signing; we still want to avoid discriminating people with modded drivers and virus infections by default, which is why SD #15 SIGN kicking is still optional. A lot of other anti-cheats always block it. We currently don't need to, because cheating on MTA is still virtually impossible (due to the general state of AC) even if they disabled signing on their PC. It's more of an "just in case" thing. You cannot derive if someone is cheating or not from the SD #15 status. If you block it however, you will barely make any casualties.
    1 point
  12. It's official, MTASA has been bought and we are becoming SAMP. Future MTASA builds will be closed source and half the features removed. Have a nice day!
    1 point
  13. 1 point
×
×
  • Create New...