Jump to content

AJXB

Members
  • Posts

    367
  • Joined

  • Last visited

Everything posted by AJXB

  1. Leaked resources: https://community.multitheftauto.com/index.php?p= ... s&id=10624 https://community.multitheftauto.com/index.php?p= ... s&id=10625 DONE
  2. AJXB

    [TUT] Basic Lua

    How about you try holding F5 at a topic of yours?
  3. AJXB

    Need Help Please.

    if ( getTeamName(getPlayerTeam(thePlayer)) == "Delta Force" ) then replace it with if ( getTeamName(getPlayerTeam(pla)) == "Delta Force" ) then Your player var is "pla" not thePlayer, that's it. On line 32 aswell.
  4. I think he used yellow because it's easier for the eye to notice, it's not about taste actually.
  5. Looks neat, nice, useful, great work, keep it up!
  6. AJXB

    [REL] IVSE 1.3

    ~ Updated 1.3: * You can now choose between MySQL or SQLite databases. * You don't need to import anything into your MySQL database.
  7. AJXB

    [REL] IVSE 1.3

    Update: Please import his into your MysQL database before using this resource: https://mega.co.nz/#!YUJmGLBA!esiae4PNz ... U6R6ELE8yQ
  8. So basically it's a dxDrawText exported from an SQLite database query, and a GUI to edit that query, it's a nice idea, but make sure not to query each time the window is drawn, only on resourceStart, and one more thing, add/delete menus can come in handy.
  9. Frankly none of them is worth $15.00, but good job, nice effort.
  10. AJXB

    [REL] IVSE 1.3

    1. The original one was not for free, it costs $7.50 2. Updated, added vehicle rotation, and vehicle colour, plus some more minor bug fixes.
  11. AJXB

    [REL] IVSE 1.3

    You got me chills man! thank cows you like it! I get to live after all! yey me! (too sarcasm) I'm not asking for a rate here, but you're welcome.
  12. Wait.. did you just add onPlayerJoin as an event? it's already added, just use addEventHandler Also, you may want to use onClientResourceStart if you get any bugs.
  13. Why are you even posting here? for god sakes, did anyone tag you by mistake? if you're giving your opinion, I don't want to hear it, got something to say? PM, you're just wasting my time, if you're not here to help this guy, don't reply on his topic, that's simply wrong. You can reply again, I won't answer, I got a life.
  14. AJXB

    [REL] IVSE 1.3

    IVSE 1.3 Features: Markers can be locked to: * Group * Team * Job * Nothing -- anyone can use them - You can define the rotation of the vehicle. - You can define the colour of the vehicle, and the marker. - Attached to a MySQL script, to connect and execute. - You can add as many vehicles as you want. Preview: viewtopic.php?f=108&t=82987 ~ Updated 1.3: * You can now choose between MySQL or SQLite databases. * NOTE: You must import this structure into your database, MySQL or SQLite, it won't work without it. .SQL: https://mega.co.nz/#!YUJmGLBA!esiae4PNz ... U6R6ELE8yQ Download: https://community.multitheftauto.com/index.php?p= ... s&id=10589
  15. Do you even hear yourself? gosh.. Anyway, sshh, help him, don't lecture me.
  16. triggerClientEvent ( [table/element sendTo=getRootElement()], string name, element sourceElement, [arguments...] ) You can't use root in this case use source, or thePlayer element you're using. triggerClientEvent(source,"onLock",theVehicle) One more note, the first argument is optional, you can use triggerClientEvent("onLock",theVehicle,thePlayer) And that's it, your client event "onLock" will play https://wiki.multitheftauto.com/wiki/PlaySound3D using https://wiki.multitheftauto.com/wiki/GetElementPosition of the vehicle, and the source element is thePlayer or localPlayer.
  17. guiCreateStaticImage -- one for the title, one for the body, and one for the buttons, the image will be a 1x1 png file, not much to download guiCreateLabel -- for the Window title, and for the button title onClientGUIClick onClientClick
  18. Or.. you can use custom CEGUI, though I heard it's heavy, I recommend it, how? using some png images to form a GUI window. However, it's not sufficient, you can use DX and it's more advance and lighter. It's your choice, I recommend the custom CEGUI, though it'll need work, DX is easier.
  19. AJXB

    marker's

    destroyElement setTimer createMarker
  20. 1. You don't need to check it it's ~= nil, skip it function showSpawnerWindow(spawnerType) guiSetVisible(GUIEditor.window[1], true) ... 2. Try to remove if dimensionMatch, just check elementData if (getElementData(source, "markType") == "vspawner") then That's as far as I can help, the problem must be with onClientMarkerHit, as you say there are no errors and the marker is created.
  21. AJXB

    Stealth kill

    dude read: https://wiki.multitheftauto.com/wiki/Meta.xml OOP - Please refer to OOP for documentation. false: Disable OOP. true: Enable OOP. "dude" I'm sorry if you're too lazy to add this simple line to your meta.xml, lazy coders are not meant to succeed.
  22. AJXB

    Stealth kill

    MTA 1.4 cut this code short, please check the OOP.
  23. AJXB

    Stealth kill

    You can check if something behind a player using Matrices: https://wiki.multitheftauto.com/wiki/Matrix
×
×
  • Create New...