Recent content by KamikazeSripterul

  1. KamikazeSripterul

    [LUA] Getting chat line full colours

    Well thank you for the effort but that's not what I asked. I know how to get the color but the rest of the string color doesn't get copied.
  2. KamikazeSripterul

    [LUA] Getting chat line full colours

    @Tuzas Any other suggestions you may have?
  3. KamikazeSripterul

    [LUA] Getting chat line full colours

    That still doesn't work. This is what I did: local events = require("lib.samp.events") function events.onServerMessage(color, text) sampAddChatMessage(text, -1) end I even tried instead of -1 to put color but it shows pink
  4. 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...
  5. 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...
  6. KamikazeSripterul

    [LUA] Turning lights on car lights

    So.. did u manage to do something?
  7. KamikazeSripterul

    [LUA] Turning lights on car lights

    @Tuzas
  8. KamikazeSripterul

    [LUA] Turning lights on car lights

    Oh thanks! I was able to make the setCarLightsOn function work, but not forceCarLightsOn. Do you have an idea of how to use that function?
  9. 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...
Top