Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by xMKHx

  1. Well i have join your server, you have a bug in your chat system Guest Players can chat also Its easy to fix it, do it
  2. You can check MTA Resources Directory You find headshot script Here is the code addEvent "onPlayerHeadshot" addEventHandler("onPlayerDamage", getRootElement(), function (attacker, weapon, bodypart, loss) if bodypart == 9 then if ( getPlayerWeapon(attacker) == wepID ) killPed(source, attacker, weapon, bodypart) -- This to kill the player with one shot setElementHealth(source, HowMuchHealYouWant) -- This will damage him how much you want end end end )
  3. local BodyPart = -- Add you Body part here for the shot part, Ex: Head, Leg if bodypart == BodyPart then if ( getPlayerWeapon(theAttacker) == wepID ) setElementHealth(theVectim, health )
  4. addEventHandler ( "onClientPlayerDamage", root, function ( attacker, weapon, bodypart, loss ) if (attacker ) and ( getElementType( attacker ) == "ped" ) then return end cancelEvent () end ) I didn't understand what do you mean exactly but may this help you You can add a team or group or Element Data if (getPlayerTeam(source, getTeamFromName("TeamName")) then
  5. Accept my facebook invitation my name: Med Kamel Haddad
  6. xMKHx


    About the fps and money.... Head to your scoreboard script open file 'dxscoreboard_exports.lua' and add whatever you want { ["name"] = "money", ["width"] = 60, ["friendlyName"] = "Money", ["priority"] = MAX_PRIRORITY_SLOT -2}, { ["name"] = "fps", ["width"] = 40, ["friendlyName"] = "FPS", ["priority"] = MAX_PRIRORITY_SLOT -1},
  7. xMKHx


    may this can help you https://wiki.multitheftauto.com/wiki/Coreconfig.xml#Settings
  8. xMKHx

    lua problem

    addCommandHandler("group", function(source) if exports.acl:isPlayerInGroup(source, "ev") or exports.acl:isPlayerInGroup(source, "admin") then triggerClientEvent(source, "createWindow", getRootElement()) triggerClientEvent(source, "fillagrid", getRootElement()) triggerClientEvent(source, "fillcgrid", getRootElement()) triggerClientEvent(source, "fillugrid", getRootElement()) end end ) function addGroup(client, group) local acc = getPlayerAccount ( client ) local accname = getAccountName ( acc ) if not exports.acl:isPlayerInGroup(accname, group)then
  9. Server Rules Hello CommunityI made a new server rules system !Most of MTA Servers are using bind and commands like 'F1' .. etc etc !But mine is different ! I have made Dx Window and you can change the color of the bar of the window and when the player hit the 'Info Pickup' he'll get this Dx Gui, he won't get 'Cursor' !Your question is how will the player close the window, i'll answer on itwhen the player leave the pickup the window will close autoyou can change server rules and add more pickupsi made this script without using debugscript so if you had any error or problem post it in a
  10. Wow .. i have never seen something like this before, keep it up, im waiting to release it
  11. Its like Battlefield 2, Very Good Job bro, keep working ♥
  12. xMKHx

    Dx Grid

    Thnx a lot ♥
  13. xMKHx

    Dx Grid

    Hello Community, Im MKH, i'm learning DirectX and everything about the DirectX, i've made a Dx Gui, Buttons, Tabs, but my problem is in Dx Gridlists Actually i'm working on GTA V Server, i've joined a server have a Dx Guies like GTA V's one Like This: Can you just give me an examples or the functions to make something like that and Thanks
  14. xMKHx

    [REL] dxLib

    i tried to make a simple Dx Window with exports but i failed, can you just make a simple script, and lemme make make another one base on it
  15. Really good job But listen my friend, i tried to make simple Dx Window but i didn't know how to set it visible, i used the function but nothing, can you just give me an example of simple window script and lemme solve my problem . and Thnx
  16. Wrong place, move it to Scripting Board please !
  17. xMKHx


    I found them https://community.multitheftauto.com/index.php?p=resources&s=details&id=12198 https://community.multitheftauto.com/index.php?p=resources&s=details&id=13176 https://community.multitheftauto.com/index.php?p=resources&s=details&id=5972 https://community.multitheftauto.com/index.php?p=resources&s=details&id=8226 https://community.multitheftauto.com/index.php?p=resources&s=details&id=13007 https://community.multitheftauto.com/index.php?p=resources&s=details&id=10406 https://community.multitheftauto.com/index.
  18. xMKHx

    Hud Problem

    I found it, ty all
  19. xMKHx

    Hud Problem

    I have the respewn script, when player die he'll warp to hospital, i can add the function there ?
  20. xMKHx

    Hud Problem

    I did it but nothing happened, i can give you the script and u fix it
  • Create New...