Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About Synthe1

  • Rank

Recent Profile Visitors

313 profile views
  1. Yo guys, i have problem with my hud. Before dmg After dmg My code: health = getElementHealth (getPedOccupiedVehicle(localPlayer)) local health = (math.max(health - 250, 0)/750)*100 dxDrawImage ( (x/nX)*screenWidth*13.2, (y/nY)*screenHeight*11.0, (x/nX)*screenWidth*1.1, (y/nY)*screenHeight*1, "circle.png",0,0,0,tocolor(255,255,255,200)) --dxDrawImage ( (x/nX)*screenWidth*13.55, (y/nY)*screenHeight*11.1, (x/nX)*screenWidth*0.4, (y/nY)*screenHeight*0.4, "heart1.png",0,0,0,tocolor(255,255,255,150)) dxDrawText(""..health.."
  2. I tried this function(message,type) if (string.find(message, "!skills")) and not (string.find(message, " !skills")) then local account = getPlayerAccount(source) local kills = (getAccountData(account, "kills") or 0) local nick = getPlayerName(source) local nickA = string.gsub(nick, "#%x%x%x%x%x%x", "") if (string.find(message, "!skills")) and not (string.find(message, " !skills")) then local account = getPlayerAccount(source) local kills = (getAccountData(account, "kills") or 0) local nick = getPlayerName(source) local nickA = string.gsub(nick, "#%x%x%x%x%x
  3. I got it, thanks, I have last question, how i can use that language 'system' for serverside?
  4. Sorry but I have another problem with that. How i can save it? I mean, when I go reconnect I have to set the language again.
  5. Hey, thanks for answer but It doesnt work. There is no error in debugscript. my code : local lang1 = "en" local lang2 = "cz" function element(cm,lang) if lang then if lang == tostring(lang1) then setElementData(localPlayer,"language",lang1) elseif lang == tostring(lang2) then setElementData(localPlayer,"language",lang2) end end end addCommandHandler("setlanguage",element) function w1 () if getElementData(localPlayer,"language") == lang1 then outputChatBox("#bcff00[!] Don't forget to visit us in our forum", getRootElement(), 255, 255, 255, true) elseif getEl
  6. Hello, i need help with more languages in outputchatbox. For example, u can choose ur lang with command /setlanguage english or another language, then it will show outputchatbox lang with ur language. Something like this : outputChatBox("#123456[!] [DM]: #FFFFFF"..getPlayerName(killer).." #123456KILLED #FFFFFF"..getPlayerName(source).." #123456!", getRootElement(), 255, 0, 0, true) ----- English language outputChatBox("#123456[!] [DM]: #FFFFFF"..getPlayerName(killer).." #123456Zabil si #FFFFFF"..getPlayerName(source).." #123456!", getRootElement(), 255, 0, 0, true) --
  7. Hey, yea it is. https://community.multitheftauto.com/index.php?p=resources&s=details&id=5840
  8. Hello, I need your help, I want to make bindkey only for acl groups, but that's the problem, i dont know how to make server side. Can you help me please? GUIEditor = { button = {}, Nitro = {}, Yol = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(0.83, 0.30, 0.16, 0.24, "Derby Skin Panel", true) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(0.13, 0.22, 0.77, 0.17, "Carbon Fiber", true, GUIEditor.window[1]) guiSetProperty(GU
  9. Hello community, I need your help with script, I want to make this command only for VIP group but I don't know how, one thing I know is that I have to use: if isObjectInACLGroup Can you help me please? function addPaintjob(commandName,paintjobID) me = getLocalPlayer() if isPedInVehicle ( me ) then triggerServerEvent ( "addPJ", resourceRoot, tonumber(paintjobID), me ) end end addCommandHandler ("addpaintjob",addPaintjob) function addPaintjob2(paintjobID,player) if paintjobID == 1 then myTexture = dxCreateTexture( "paintjob1.png" ) elseif paintjobID == 2 then myTexture =
  • Create New...