Jump to content

Ab-47

Members
  • Posts

    367
  • Joined

  • Last visited

Everything posted by Ab-47

  1. Ab-47

    The last reply

    hahahah P.s; Anyone notice our posts get counted in this board now? O_o
  2. Ab-47

    Help Please!

    Can you post the rest of the code please?
  3. Ab-47

    The last reply

    haha he must be drunk O_o I thought I wont.. there was no reply for 3 days xP
  4. Ab-47

    The last reply

    lmao ;D Dubstep FTW
  5. guiSetInputMode("no_binds_when_editing") Use that ^
  6. Ab-47

    The last reply

    Haha no my title sucks ._. I got an idea, SPAM THE FORUM! So my title will disappear more easily I hope a moderator doesn't ban me P.s; I'm just kidding, I'd never spam le MTA forums unless an MTA Team member tells me to do so xP (that's such a noob lie )
  7. Your code is really messy.. I think you should try again. Well heads up on this line: addEventHandler ("onClientGUIClick", root, function () root is a global variable, meaning whatever you click the function will be triggered even from another GUI. Bad Argument at line 9 is because the vehicle wasn't created, the vehicle wasn't created (Line 8 ) because, idk.. Just really tired to focus, it must be your table data, I think.
  8. Have you got any settings for your shader? Like; Settings = {} Settings.var = {} Settings.var.bloom = 1.5 Settings.var.blendR = 355 Settings.var.blendG = 355 Settings.var.blendB = 355 Settings.var.blendA = 100 I forgot who the author is buh yea, add this to your code replacing line 8: local col = tocolor(Settings.var.blendR, Settings.var.blendG, Settings.var.blendB, Settings.var.blendA) dxDrawImage( 0, 0, screenWidth, screenHeight, myShader, 0,0,0, col)
  9. Ab-47

    The last reply

    My title is such a WTF title.. ._. (Red-Headed Stepchild)
  10. Use a loop to get the all the players to fire at, then add a check to see if the player isn't yourself and I think you'll be fine. You're using getLocalPlayer(), which gets the player who triggered the function, so yea, it's obviously gonna shoot at you
  11. Ab-47

    The last reply

    Lol, and what if you barely have net?
  12. Ab-47

    The last reply

    I'm bored ._. even after those bright images
  13. Ab-47

    [HELP] Script

    dxDrawText To create the text. getRealTime To get the real time. methyl? Do you mean meta? If so; <meta> <script src="thefile.lua" type="thetype"/> </meta> thefile = the file you saved your script as, for example I saved it as something.lua and it's client sided, I'll have this in the meta:
  14. You know you could just create GUI button on-top of your DX text with alpha 0 (invisible), so it's like an invisible button.
  15. I think he means the use of Alt + W (Walking, but in the 'ready-to-attack' mode).
  16. Ab-47

    The last reply

    I just learned the meaning of inb4
  17. Ab-47

    The last reply

    Imagine the MTA team replies here, locks the thread and claims he's the winner what a troll
  18. Silly mistakes are always hidden Change line 43: addEventHandler("OnClientMarkerHit", daMarker, hitDaMarker) to this: addEventHandler("onClientMarkerHit", daMarker, hitDaMarker) Your client event has a capial "O" which shouldn't be there xP tested & confirmed that it works
  19. function checkAFKPlayers() for index, source in ipairs(getElementsByType("player"))do -- Loop all online players if (getPlayerIdleTime(source) > 300000) then -- Player hasn't moved for 300,000ms (5 minutes) DimensionP ( source, 1 ) outputChatBox("AFk Check") elseif ( getElementDimension ( source) == 1 ) and (getPlayerIdleTime(source) < 300000) then setElementDimension ( source, 0) end end end setTimer(checkAFKPlayers, 30000, 0) Try this, you haven't defined "thePlayer" either, but I replaced thePlayer with source which should get the local player. Not tested
×
×
  • Create New...