Jump to content

koeno100

Members
  • Posts

    53
  • Joined

  • Last visited

Recent Profile Visitors

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

koeno100's Achievements

Snitch

Snitch (10/54)

1

Reputation

  1. koeno100

    speaker

    Use getPedBonePosition attachElements First get the position of the spine, spawn the speaker on that position and then attach the box to your player using attachElements
  2. koeno100

    onMarkerHit

    Hi guys! So I think I've read about this problem a year ago but haven't scripted in a while so I'm just asking it again: When I creating either a cylinder or a checkpoint marker with a radius of roughly 100 and use onMarkerHit, the event already gets triggered when I'm getting closer than around 5 - 10 meters from the marker away. How can I make the event work that it only triggers when I'm actually inside the marker, and not when I'm just outside of it?
  3. local imageX = (dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont )-s(4))*1.4 dxDrawText( countryName, topX+theX+s(6)+imageX, y+s(1), topX+x+s(1+column.width), y+s(11)+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( 0, 0, 0, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) dxDrawText( countryName, topX+theX+s(5)+imageX, y, topX+x+s(column.width), y+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( r or 255, g or 255, b or 255, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) dxDrawImage(topX+theX+s(1), y+s(1.9), imageX,dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont )-s(4),countryString,0,0,0,tocolor(255,255,255,a or 255)) else
  4. Hey guys! I have a problem with the open source MTA:DayZ script created by Marwin W. I've disabled the DX chatbox that was included into the script and enabled the original MTA chatbox, yet the commands don't work. I've searched through the file for onPlayerChat events and stuff like that but didn't find anything like that. I've made a custom command that should output a message, which didn't, so for some reason the script cancels the output. Anyone with experience with the script know where to disable this? (Since there are like 800 files in the script)
  5. I did "isBrowserDomainBlocked("http://google.com")" and it returnd true, so Google is not supported
  6. I've tried it out, and it does work on other URLs, I just think Google isn't supported or something...
  7. Oh sorry If you do /debugscript 3, does it show any errors? ANd maybe silly, but are you sure you're using 1.5? It worked for me EDIT: Try using http://www.google.com instead of http://google.com
  8. local screenW, screenH = guiGetScreenSize() local window = guiCreateWindow((screenW - 1024) / 2, (screenH - 768) / 2, 1024, 768, "Web browser", false) local browser = guiCreateBrowser(9, 50, 987, 645, false, false, false, window) local theBrowser = guiGetBrowser(browser) addEventHandler("onClientBrowserCreated", theBrowser, function() loadBrowserURL(source, "http://google.com") end )
  9. function cancelColShapeHit() cancelEvent() end addEventHandler("onColShapeHit", getRootElement(), cancelColShapeHit) And you mean you want to prevent him using weapons in the colshape?
  10. Okay that works now, I'm using "onClientCharacter" but how do I script the backspace? Like, I can use "onClientKey" but then you have to press backspace every time you want to remove a character. How can I instead make it that if you hold the backspace button, it'll keep removing characters till you release it?
  11. Hi guys, I own a server and I've recently switched hosts because the old host was crap. Now, and I've seen this in other server, what function do I use so people get automatically forwarded to the new server IP once they join the old server?
  12. Hey guys! I'm creating a custom DX login panel, using onClientKey to check if a player is typing in a textbox etc. Everything is working, except for that I want to override all binds, just like guiSetInputMode does... But I can't use that function now of course... Does anyone have an idea how I could do this?
  13. Can't I make the server respawn all vehicles at once, like some RPG servers do? (They have even more vehicles)
  14. Hi guys! I've made this vehicle system, and every 5 minutes, it respawns all the vehicles in the server. Every vehicle is assigned with an ID, and if they're not in use, they will be respawned using a loop. For some reason, at a certain moment (Usually overnight) the server gives a "Long Execution" warning and causes the server to crash. Here is the log: [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 1 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 2 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 3 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 4 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 5 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 6 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 7 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 8 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 9 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 10 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 11 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 12 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 13 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 14 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 15 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 16 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 17 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 18 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 19 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 20 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 21 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 22 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 23 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 24 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 25 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 26 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 27 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 28 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 29 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 30 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 31 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 32 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 33 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 34 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 35 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 36 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 37 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 38 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 39 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 40 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 41 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 42 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 43 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 44 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 45 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 46 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 47 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 48 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 49 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 50 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 51 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 52 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 53 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 54 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 55 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 56 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 57 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 58 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 59 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 60 [2015-06-02 10:42:35] INFO: Respawned vehicle with ID 61 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 62 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 63 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 64 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 65 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 66 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 67 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 68 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 69 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 70 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 71 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 72 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 73 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 74 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 75 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 76 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 77 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 78 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 79 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 80 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 81 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 82 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 83 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 84 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 85 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 86 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 87 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 88 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 89 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 90 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 91 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 92 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 93 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 94 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 95 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 96 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 97 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 98 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 99 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 100 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 101 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 102 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 103 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 104 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 105 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 106 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 107 [2015-06-02 10:42:36] INFO: Respawned vehicle with ID 108 [2015-06-02 10:42:37] INFO: Respawned vehicle with ID 109 [2015-06-02 10:42:37] INFO: Respawned vehicle with ID 110 [2015-06-02 10:42:38] INFO: Respawned vehicle with ID 111 [2015-06-02 10:42:38] INFO: Respawned vehicle with ID 112 [2015-06-02 10:42:39] INFO: Respawned vehicle with ID 113 [2015-06-02 10:42:39] INFO: Respawned vehicle with ID 114 [2015-06-02 10:42:39] INFO: Respawned vehicle with ID 115 [2015-06-02 10:42:39] INFO: Respawned vehicle with ID 116 [2015-06-02 10:42:39] INFO: Respawned vehicle with ID 117 [2015-06-02 10:42:40] INFO: Respawned vehicle with ID 118 [2015-06-02 10:42:40] WARNING: Long execution (vehnew) [2015-06-02 10:42:40] INFO: Respawned vehicle with ID 119 [2015-06-02 10:42:40] INFO: Respawned vehicle with ID 120 [2015-06-02 10:42:40] INFO: Respawned vehicle with ID 121 [2015-06-02 10:42:40] INFO: Respawned vehicle with ID 122 [2015-06-02 10:42:41] INFO: Respawned vehicle with ID 123 [2015-06-02 10:42:41] INFO: Respawned vehicle with ID 124 [2015-06-02 10:42:41] INFO: Respawned vehicle with ID 125 [2015-06-02 10:42:41] INFO: Respawned vehicle with ID 126 [2015-06-02 10:42:41] INFO: Respawned vehicle with ID 127 [2015-06-02 10:42:41] INFO: Respawned vehicle with ID 128 [2015-06-02 10:42:42] INFO: Respawned vehicle with ID 129 [2015-06-02 10:42:43] INFO: Respawned vehicle with ID 130 ================================================================== = Multi Theft Auto: San Andreas v1.4.1 [64 bit] ==================================================================
×
×
  • Create New...