xMKHx

Members
  • Content Count

    121
  • Joined

  • Last visited

Everything posted by xMKHx

  1. 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 exports.acl:addAccountToGroup(accname,group) exports.msj:sendMessage("You've been added to: " ..group.. "!", 0, 150, 0, client) end end addEvent("addPlayerToGroup", true) addEventHandler("addPlayerToGroup", resourceRoot, addGroup) function removeGroup(client, group) local playerToRemove = getPlayerAccount(client) if exports.acl:isPlayerInGroup(accname, group) then exports.acl:removeAccountFromGroup(playerToRemove,group) exports.msj:sendMessage("You've been removed from: " ..group.. "!", 0, 150, 0, client) end end addEvent("removePlayerFromGroup", true) addEventHandler("removePlayerFromGroup", resourceRoot, removeGroup) Use this and if there any problem gimme the debug
  2. 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 Commandenjoy Download Link: https://community.multitheftauto.com/index.php?p=resources&s=details&id=14535 ScreenShots:
  3. Wow .. i have never seen something like this before, keep it up, im waiting to release it
  4. Its like Battlefield 2, Very Good Job bro, keep working ♥
  5. xMKHx

    Dx Grid

    Thnx a lot ♥
  6. @thisdp come i need you private please !
  7. 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
  8. 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
  9. 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
  10. Wrong place, move it to Scripting Board please !
  11. xMKHx

    Resource

    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.php?p=resources&s=details&id=6606 https://community.multitheftauto.com/index.php?p=resources&s=details&id=10212 https://community.multitheftauto.com/index.php?p=resources&s=details&id=5097
  12. xMKHx

    Hud Problem

    I found it, ty all
  13. xMKHx

    Hud Problem

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

    Hud Problem

    I did it but nothing happened, i can give you the script and u fix it
  15. xMKHx

    Hud Problem

    Yo all, I added a new hud and radar, and when i kill my self, the old hud back, what's the problem, urgent pls :3
  16. xMKHx

    [REL] dxLib

    I found a bug in ur script this video will explain everything
  17. xMKHx

    Window to Dx

    But i saw it in another server, they really did it
  18. xMKHx

    Window to Dx

    Hello Community, i'm asking if there is a solution to convert the simple window to Dx one, i mean one script can convert all the guis's theme !