lua

  1. S

    Help Lua Help Keybinder

    soo this is my script for keybind using imgui in lua, but it wont work in game, even I press "K", When I delete function events.onServerMessage, it work perfectly but I cant costum keybind in game here is local imgui = require 'imgui' local key = require 'vkeys' local sampev = require...
  2. B

    Help Changing SA-MP name-tag colors

    I develop Lua mods for SA-MP but I'm unfamiliar with memory hacking. Someone with color blindness has asked me for a mod to automatically change specific name-tag colors to other ones. Since there's no function to change name-tag colors in the Moonloader API, I'm assuming that memory hacking is...
  3. D

    [LUA] SA:MP VALORANT Killstream Effect / Informer

    VALORANT Kill Effect This script basically adds the VALORANT killstreak effect when you kill a player (detected when you attack a player, and their new health is set to 0). It also shows roman numerals for your killstreak. The killstreak resets after 10 seconds on your ace (or 5th kill), if...
  4. T

    [LUA] Skip tutorial and anti hospital [HZGAMING.NET]

    Hello, today I wanted to introduce to you a private script that I wrote a few months ago, it's a bypass tutorial and an anti hospital. I'm sharing this because I want everyone to be able to start making chaos on the server. Only for samp.hzgaming.net Greetings to Ultra Trolling to whom I...
  5. T

    LUA GetMemory 0.3.7 and 0.3DL

    full codes in the attachment I allow any use provided that the authorship is preserved! любое использование скрипта, пока моя подпись в скрипте! 0.3DL Requires: https://ugbase.eu/threads/sa-mp-api-0-3-beta-0-3-dl.20960/
  6. T

    [LUA] Invisible MrCreepTon translated into english

    I translated the cheat from Russian to English, maybe it will be useful to someone. Source: https://www.blast.hk/threads/31444/ Libraries: IMGUI -https://libertycity.net/files/load/120718-f000e6c8eee912a37539f5472966990f/ SAMP.LUA - https://github.com/THE-FYP/SAMP.Lua Moonloader 26...
  7. ollydbg

    [LUA] Color Names Updated!

    Description: This mod is useful to know who are your teammates and other people in the game ... you will only see the color names, you can mark your friends, bandmates, enemies, etc ... Functions: Player list menu Friend/Enemy categories in the menu Edit/Delete a Player from the menu Color...
  8. D

    Help with autosigncheck code

    Is this code right to automate a signcheck or something is missing? require "lib.moonloader" local sampev = require 'lib.samp.events' function main() while not isSampAvailable() do wait(0) end reset() while true do wait(100) if checkFound then...
  9. D

    Help Auto Accept Vest LUA

    Hey there! I am trying to make a auto accept vest but my code doesn’t seem to work. Here is my code, I’d appreciate it if you guys could help me. require "lib.sampfuncs" function main() sampAddChatMessage("{FFFFFF}AutoAccept - {0085ff}[Credit: Y2K]", -1) local isModActive = true --...
  10. A

    CLEO Help Ways to avoid anti-afk

    Hey! I want you guys to help me with different ways to avoid this Anti-AFK () Basically you should click on the "visualizar" (visualize) button and this will open a list of codes in which you should indicate the line that has a different color code (in this case line 4) and then click on the...
  11. KamikazeSripterul

    [LUA] Getting chat line full colours

    Hello people, what I am trying to do is get a literal copy of a line in the chat and it's not working. What I mean by "it's not working" is that it doesn't get all the colour. Let's say you have multiple colours from the server in one chat line, the line will not get copied accordingly. An...
  12. S

    CLEO Help [LUA] Cant use any Loops in command, crashes

    how to add loop in a cmd code, my game crash when i add any kind of loop in the code like while true do or repeat until example: function main() if not isSampLoaded() or not isSampfuncsLoaded() then return end while not isSampAvailable() do wait(100) end...
  13. KamikazeSripterul

    [LUA] Perform action on click of player

    Hello dear scripters, I was researching on a function in LUA that can help me detect the click of a player. What I want my mod to do is be able to enable / disable the crosshair through right click and using the click of a player, it would do [/id <id of the player>]. I couldn't find a function...
  14. KamikazeSripterul

    [LUA] Turning lights on car lights

    Hello! I am trying to make a mod in LUA where if you press left arrow, the lights (both front and rear) on the left side of the car turn on. Similarily, if you press right arrow, the lights (both front and rear) on the right side of the car turn on. I've tried the only 2 commands that I found on...
  15. KamikazeSripterul

    [LUA] Getting color of every character in string

    Hello! I am making a mod, and part of it includes the player's name. Players on this server have clans, thus have clan tags. Typing [/id <id>] you get this (click). How can I get just the name of the player from this string? I think I could get the name and clan tag altogether from that string...
  16. KamikazeSripterul

    Help [LUA] Remove last line from chat

    Hello dear scripters, I am new to lua and I am trying to remove the last string from the chat. I don't really know how to do this and looking at lua docs, I can't find a way to do so. Would anyone be able to help me? Thank you in advance
  17. daki

    lua script

    can someone send me a .lua script for object finder where the distance to which the object located 500+ meters away can be increased
  18. P

    Lua Help

    I have a question how to stop executing taskGoToCoordAnyMeans or carGotoCoordinates or similar functions in Lua ( Moonloader ). I think some trick from CLEO will also work ( calling some opcodes or something like that ), but I don't know how to do that.
  19. ollydbg

    Untagged Release [LUA] Color Names Updated!

    Description: This mod is useful to know who are your teammates and other people in the game ... you will only see the color names, you can mark your friends, bandmates, enemies, etc ... Functions: Player list menu Friend/Enemy categories in the menu Edit/Delete a Player from the menu Color...
  20. D

    Untagged Release [LUA] SA:MP VALORANT Killstream Effect / Informer

    VALORANT Kill Effect This script basically adds the VALORANT killstreak effect when you kill a player (detected when you attack a player, and their new health is set to 0). It also shows roman numerals for your killstreak. The killstreak resets after 10 seconds on your ace (or 5th kill), if...
  21. T

    Untagged Release [LUA] Skip tutorial and anti hospital [HZGAMING.NET]

    Hello, today I wanted to introduce to you a private script that I wrote a few months ago, it's a bypass tutorial and an anti hospital. I'm sharing this because I want everyone to be able to start making chaos on the server. Only for samp.hzgaming.net Greetings to Ultra Trolling to whom I...
  22. T

    LUA Release LUA GetMemory 0.3.7 and 0.3DL

    full codes in the attachment I allow any use provided that the authorship is preserved! любое использование скрипта, пока моя подпись в скрипте! 0.3DL Requires: https://ugbase.eu/threads/sa-mp-api-0-3-beta-0-3-dl.20960/
  23. E

    LUA Release [LUA] BYPASSER V2 TRANSLATED IN ENGLISH

    in english activate ''bp'' keyboard link of post : https://www.blast.hk/threads/43760/
  24. T

    LUA Release [LUA] Invisible MrCreepTon translated into english

    I translated the cheat from Russian to English, maybe it will be useful to someone. Source: https://www.blast.hk/threads/31444/ Libraries: IMGUI -https://libertycity.net/files/load/120718-f000e6c8eee912a37539f5472966990f/ SAMP.LUA - https://github.com/THE-FYP/SAMP.Lua Moonloader 26...
  25. B

    [Lua] What is this error.

    function marker(posX,posY,posZ) wait(2000) removeBlip(checkpoint) checkpoint = addBlipForCoord(posX,posY,posZ) changeBlipColour(checkpoint, 4) setCoordBlipAppearance(checkpoint, 1) end I'm trying to put this function to a loop so it updates on the...
  26. E

    LUA Release TROLL PACK .LUA BYPASS ALL SERVERS ROLEPLAY

    +CAR TROLL ACTIVACION /BB ID CAR /ABB ALL CARS /BURN ID CAR /ABURN ALL CARS +LUA NOPS ACTIVACION /NOPS +LUA DIAMOND TP IN CAR ACTIVACION /CTP +BYPASS LOGIN LSRP +TELEPORT ATP +OVERLIGTH V4 +COMPABILITY R2 SAMP REQUIREMENTS +LIBS REMPLACE MOONLAODER...
Top