Jump to content

UnG//Macaus

Members
  • Posts

    37
  • Joined

  • Last visited

Details

  • Gang
    UnitGAMES

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

UnG//Macaus's Achievements

Rat

Rat (9/54)

0

Reputation

  1. for example, i want to know if a word has 5 letters
  2. UnG//Macaus

    Question

    How can I get the number of letters / characters has a text?
  3. As i Know , there is nothing that is triggering the event, does someone have a idea or solution how to solve this problem ?
  4. I think you have misunderstood the problem I have now addEventHandler("onClientDXClick",getRootElement(), function() if (source == button) then triggerServerEvent("test",localPlayer) --run 2 times (2 outputChatBox) outputChatBox("test") --run 1 time (1 outputChatBox) end end)
  5. Only triggerServerEvent is executed 2 times
  6. now is not repeating more, except for triggerEvents Example: addEventHandler("onClientDXClick",getRootElement(), function() if (source == button) then triggerServerEvent("test",localPlayer) end end) --server addEvent("test",true) addEventHandler("test",getRootElement(), function() outputChatBox ( "TEST", source, 0, 255, 0) end)
  7. Yes, this is the full function I put this line at the top and still have the same problem
  8. I have a problem with my code, everything is working, but the function is executed 2 times when I click on a button. Can someone help me? for id,element_r in ipairs(getElementChildren(dxRootElement)) do for id, element in ipairs(getElementChildren(element_r)) do if getElementData(element,"visible") == true then local g_height = getElementData(element,"height") or 0 local g_width = getElementData(element,"width") or 0 local px, py = dxGetPosition(element) if (button == "left" and state == "up") then if x >= px and x <= (px+g_width) and y >= py and y <= (py + g_height) then triggerEvent("onClientDXClick",element) end end end end end
  9. Anubhav ,what's diffrent betwen your and the code of XeoN?
  10. Doesen't work , still same error ccw check pm.
  11. I use this script to hide blips F11, I do not know if this is the best way to do this but the problem is that wisdom works for all blips. How can I add a table for me to choose the blips that will disappear? addEventHandler("onClientResourceStart", getRootElement(), function() setTimer(function() local localX, localY = getElementPosition(localPlayer) for _, blip in pairs(getElementsByType("blip")) do local blipX, blipY = getElementPosition(blip) if(getDistanceBetweenPoints2D(localX, localY, blipX, blipY) > 500) then local icon = getElementData(blip, "IconID") if not icon then setElementData(blip, "IconID", getBlipIcon(blip), false) end setBlipIcon(blip, 0) setBlipColor(blip, 255, 255, 255, 0) else local icon = getElementData(blip, "IconID") if icon then setBlipIcon(blip, icon) end end end end, 500, 0) end)
  12. Still doesen't work. dpkg: unknown option --add-architecture Type dpkg --help for help about installing and deinstalling packages [*]; Use `dselect' or `aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through `less' or `more' ! root@9tcyndxp2e:~# apt-get update Hit [url=http://security.debian.org]http://security.debian.org[/url] squeeze/updates Release.gpg Ign [url=http://security.debian.org/]http://security.debian.org/[/url] squeeze/updates/contrib Translation-en Ign [url=http://security.debian.org/]http://security.debian.org/[/url] squeeze/updates/main Translation-en Ign [url=http://security.debian.org/]http://security.debian.org/[/url] squeeze/updates/non-free Translation-en Hit [url=http://security.debian.org]http://security.debian.org[/url] squeeze/updates Release Hit [url=http://security.debian.org]http://security.debian.org[/url] squeeze/updates/main amd64 Packages Hit [url=http://security.debian.org]http://security.debian.org[/url] squeeze/updates/contrib amd64 Packages Hit [url=http://security.debian.org]http://security.debian.org[/url] squeeze/updates/non-free amd64 Packages Hit [url=http://http.debian.net]http://http.debian.net[/url] squeeze Release.gpg Ign [url=http://http.debian.net/debian/]http://http.debian.net/debian/[/url] squeeze/contrib Translation-en Ign [url=http://http.debian.net/debian/]http://http.debian.net/debian/[/url] squeeze/main Translation-en Ign [url=http://http.debian.net/debian/]http://http.debian.net/debian/[/url] squeeze/non-free Translation-en Hit [url=http://http.debian.net]http://http.debian.net[/url] squeeze Release Hit [url=http://http.debian.net]http://http.debian.net[/url] squeeze/main amd64 Packages Hit [url=http://http.debian.net]http://http.debian.net[/url] squeeze/contrib amd64 Packages Hit [url=http://http.debian.net]http://http.debian.net[/url] squeeze/non-free amd64 Packages Reading package lists... Done root@9tcyndxp2e:~# dpkg --add-architecture i386 dpkg: unknown option --add-architecture Type dpkg --help for help about installing and deinstalling packages [*]; Use `dselect' or `aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through `less' or `more' ! root@9tcyndxp2e:~# cd multitheftauto_linux* root@9tcyndxp2e:~/multitheftauto_linux-1.4.0# ./mta-server -bash: ./mta-server: No such file or directory root@9tcyndxp2e:~/multitheftauto_linux-1.4.0# Debian -- Security Information security.debian.org
×
×
  • Create New...