xMKHx

Members
  • Content Count

    131
  • Joined

  • Last visited

Everything posted by xMKHx

  1. xMKHx

    Bug

    function restricAnimation () local theVehicle = getPlayerOccupiedVehicle ( source ) if ( theVehicle ) then cancelEvent() outputChatBox ("You can't use animations in vehicles ",source) end end addCommandHandler("anim", restricAnimation)
  2. try this function find (player, cmd, target) local target_ = getPlayerFromName(target) if target_ then local targetN = getPlayerName(target_) createBlipAttachedTo(target_, 56) else outputChatBox("Sorry, we don't know a person called" .. targetN, target_, 255, 0, 0) end end addCommandHandler("find", find)
  3. function getPlayerFromPartialName(name) local name = name and name:gsub("#%x%x%x%x%x%x", ""):lower() or nil if name then for _, player in ipairs(getElementsByType("player")) do local name_ = getPlayerName(player):gsub("#%x%x%x%x%x%x", ""):lower() if name_:find(name, 1, true) then return player end end end end function findPlayer (player, cmd, target) local target_ = getPlayerFromPartialName ( target ) local targetN = getPlayerName(target_) if cmd == "find" then if target_ then createBlipAttachedTo ( getPlayerFromName(targetN), 56 ) else outputChatBox("Player not found !", player, 255, 0, 0) end end end addCommandHandler("find", findPlayer)
  4. xMKHx

    HELP PLEASE

    function dx () dxDrawRectangle(screenW * 0.7021, screenH * 0.3151, screenW * 0.2832, screenH * 0.0534, tocolor(0, 0, 0, 150), false) end addEventHandler("onClientRender", root, dx)
  5. Wrong section !, you can post in scripting section and paste your codes and Thank You !
  6. Wrong section !, you can post in scripting section and paste your codes not a downloading link ! nad Thank You !
  7. try this -- Client function SureKaydet () triggerServerEvent("Freeroam:SureKaydet", localPlayer, sureVerileri, true) if sureVerileri[localPlayer] and isTimer(sureVerileri[localPlayer].timer) then killTimer(sureVerileri[localPlayer].timer) end end addEventHandler( "onClientPlayerQuit", getRootElement(), SureKaydet ) -- server function SureKaydet (sureVerileri,bosmu) outputServerLog("triggered server") local hesap = getPlayerAccount(source) if isGuestAccount(hesap) then return false end outputServerLog("not guest") local sure = 60*10 if sureVerileri[source] and sureVerileri[source].sure then sure = sureVerileri[source].sure end exports.Hesaplar:SAD(hesap, "KiralikSure", sure) outputServerLog("saved.") outputServerLog(sure) if bosmu then exports.Hesaplar:SAD(hesap, "KiralikSureBos", true) end end addEvent("Freeroam:SureKaydet", true) addEventHandler("Freeroam:SureKaydet", getRootElement(), SureKaydet)
  8. xMKHx

    problems with fps

    Did you tried to set all mta video settings to low quality, if you didn't try it may it help you
  9. xMKHx

    New Laptop Low Fps

    Did you tried to play in local server, maybe the problem from server mods, it can damage the fps
  10. Check here may this helps you
  11. xMKHx

    Help

    try this local playerName = "" local message = "" function dx () local screenW, screenH = guiGetScreenSize () dxDrawText(""..message.." Hosted by: "..playerName.."", (screenW * 0.0000) + 1, (screenH * 0.0000) + 1, (screenW * 0.4539) + 1, (screenH * 0.0260) + 1, tocolor(0, 0, 0, 255), 1.00, "default", "left", "top", false, false, false, false, false) dxDrawText(""..message.." Hosted by: "..playerName.."", screenW * 0.0000, screenH * 0.0000, screenW * 0.4539, screenH * 0.0260, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end function info (message_) removeEventHandler ( "onClientRender", getRootElement( ), dx ) addEventHandler("onClientRender", getRootElement( ), dx ) message = message_ playerName = getPlayerName(getLocalPlayer()) end function stopinfo () removeEventHandler ( "onClientRender", getRootElement( ), dx ) end addCommandHandler("info", info) addCommandHandler("stopinfo", stopinfo)
  12. Actually if you know how to use it it won't burden your server, i have made a mistake before i used a timer and i fked up the server
  13. xMKHx

    ATM robbery

    I made this for public may you love it https://community.multitheftauto.com/index.php?p=resources&s=details&id=15571
  14. xMKHx

    ATM robbery

    You can draw a window and buttons With guieditor ( you can find it on community ) then make functions for buttons ( i mean the numbers from 1,9 ) you can use guiGetText and guisettext and if there i☼ something wrong you can post on scripting board and we can help you
  15. xMKHx

    ATM robbery

    If you have a server you can request paid scripters to make one like it or you can make your own one if you can ofc
  16. f OVH l vps b 8dt w techry m3ah domain .ovh walla .xyz b 2dt yaany total yji 10dt yaa3ni 7keyet $3 w enty theb tbi3 l vps bark b $15 w $20 yaany tji 45dt 60dt kek, 3leh sahby ne9sin ahna
  17. xMKHx

    ATM robbery

    You can search on the community for similar one or you can make your own script
  18. You can post your scripts in this section and we can help you ti fix it
  19. xMKHx

    Button Team

    destroyElement(getTeamFromName("Team_Name")) spawnPlayer ( source, x, y, z, rot, skinID )
  20. function AntKill ( attacker , weapon , bodypart , loss ) suspect = getAccountName ( getPlayerAccount ( attacker )) victim = getAccountName ( getPlayerAccount ( source )) if (attacker == source) then return false end if ( isObjectInACLGroup ( "user." ... suspect , aclGetGroup ( "test" )) and isObjectInACLGroup ( "user." .. victim , aclGetGroup ( "test" )) ) then outputChatBox ("TEST",source,255,255,255,true) cancelEvent () end end addEventHandler (" onPlayerDamage ",root,AntKill)
  21. I edited my post ! look again may it helps you