Search results

  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...
  10. KamikazeSripterul

    [LUA] Getting color of every character in string

    In my case i want the exact opposite: I want from 12345678 to {FFFFFF}123456{AA2B5C}78
  11. KamikazeSripterul

    [LUA] Getting color of every character in string

    The only issue with this is that i dont know what the clan tag is. I cant just write every single clan tag from the server and always update it when a clan is registered/deleted. The only possible way (as far as i thought), is to get the colour from the chat of the clan tag, and remove that from...
  12. 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...
  13. KamikazeSripterul

    Help [LUA] Remove last line from chat

    Nevermind, solved.
  14. KamikazeSripterul

    Help [LUA] Remove last line from chat

    Yes, that'd be right in cleo but is it the same in lua? And how do you do that in lua?
  15. 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
  16. KamikazeSripterul

    ️ Decrypting/Safety Check CLEO/SF/ASI/DLL

    Could you please decrypt this .luac file?
  17. KamikazeSripterul

    CLEO Help Ignore last line containing player's name

    The idea of this mod is to hide messages from people that you want to block. You type /block 7, the person with the id 7 will no longer appear on your chat. If someone is annoying you or whatever.
  18. KamikazeSripterul

    CLEO Help Ignore last line containing player's name

    Hello dear scripters, I want to make a script, where if you type command (/block <id>), it will get that user's name by ID and then make disappear any line that contains that player name. My problem is that I am not sure how to do this for multiple players. What I was thinking is to have an...
  19. KamikazeSripterul

    CLEO Help Restart CMD

    That is what I explained in the description of the post but I guess I just explained it badly because I already have @SpnKO 's suggestion. I am struggling on this idea of having a main code that restarts the written one but I don't understand why it doesn't work.
  20. KamikazeSripterul

    CLEO Help Restart CMD

    So I will have to put this in all scripts?
  21. KamikazeSripterul

    CLEO Help Restart CMD

    If you are testing something and don't want to keep quit the game and enter again for the cleo to update, I tried updating from in game however I wanted to make a command that has the parameter as the name of the file instead of putting this command in every cleo i will create at one point.
  22. KamikazeSripterul

    CLEO Help Restart CMD

    Bump.
  23. KamikazeSripterul

    CLEO Help Restart CMD

    I tried making a code in-game so I don't have to keep quiting the game and re-enter and so on so my question is, why doesn't this work? {$CLEO} {$INCLUDE SF} 0000: thread "TestsCMD" repeat wait 0 until SAMP.Available() 0B34: "restart" @restart WHILE TRUE WAIT 0 END :restart...
  24. KamikazeSripterul

    CLEO Help Perform action on TXD

    If you have a txd that you must press on, what is an opcode or a snippet to do this?
  25. KamikazeSripterul

    CLEO Help Automatic Dialog

    Hey guys. I have thought of the idea of making a feature to a dialog that samp doesn't have it. So this is what I thought: If you are on the first item of a dialog, and you press up arrow, it would automatically go to the last item and vice versa. So basically you wouldn't have to press down...
  26. KamikazeSripterul

    AHK - Auto Press '[' and ']'

    Thanks guys! Big help.
  27. KamikazeSripterul

    AHK - Auto Press '[' and ']'

    Hello, can anyone help me make a script in ahk where if you hold click, it will spam both keys '[' and ']'. Thank you.
  28. KamikazeSripterul

    CLEO Help Prevent vehicle eject by server?

    Get vehicle to your position or... idk someone else might know a better idea.
  29. KamikazeSripterul

    CLEO Help Prevent vehicle eject by server?

    From what I understood the server spawns the truck 50m away after you've completed a delivery. I guess it doesnt kick you out, it just deletes the truck. I'm not sure if you could.. idk respawn the truck? But maybe that will interfere IDs or idk. Actually, i think the ID doesnt change of the...
  30. KamikazeSripterul

    CLEO Help Get race checkpoint coordinates

    @ShalltearB Okay so you obviously have the snippet from Zin. You can show the coordinates using 'chatmsg "%f %f %f" 1@ 2@ 3@'. Just so you understand, %f represents float numbers (such as 2.1, 3.4 etc.), %d represents whole numbers (such as 1, 2 etc.) and theres many more. All coordinates in...
  31. KamikazeSripterul

    Collection

    He specified that he cant compile. He showed u the link to the same post but all he cant do is compile it..
  32. KamikazeSripterul

    CLEO Help Weird String Error

    Ok so.. u dont put %s %s as 13@v and 14@v, u simply put "%s" 14@v. For each name. You do that for the player2 name too. No need for 2 variables.
  33. KamikazeSripterul

    CLEO Help CheckpointCreate.cs help

    Check ur variables.
  34. KamikazeSripterul

    CLEO Help vest cleo

    You cant do this as samp doesnt allow u to connect on the same account from multiple devices.
  35. KamikazeSripterul

    CLEO Help Textdraw hider

    Yeah its possible. Start by checking for each textdar id 0 to 2304. Search in opcode 'scan_string' , 0c18 or 0c14 (whichever js suitable for u) and use the format you need to find that textdraw. Finally, take the text of tjat textdraw and create the textdraw.
  36. KamikazeSripterul

    CLEO Help Show dialog when press a key

    Why cant people solve such easy errors?
  37. KamikazeSripterul

    [CLEO] Some snippets

    Wow, Parazitas really had some time off :))
  38. KamikazeSripterul

    CLEO Help Show dialog when press a key

    La sfarsit de hex pui 00, aia segnificand ca termini hex-ul. Adica vei avea '7d 00'. Nu vad un motiv de ce nu ar merge codul lui cheetahftw1, probabil e din cauza versiunii sampfuncs sau cleo, poate chiar si samp. La ce ai nevoie de acest cmd? Pe ce server? Trimite pe prv.
  39. KamikazeSripterul

    CLEO Help Cleo request (i have no perms to post in requests section so sorry for posting here)

    Isnt that.. a bit useless? I mean.. you could make a bind on space.. if u press space it starts if u press space again it stops. Idk, its more.. easier to use i guess. I dont see a point in this though but alright.
  40. KamikazeSripterul

    CLEO Help Scan players in front of my car in a range of 100-200 meters

    Instead of testing for chat open, dialog open, just put IsCursorActive. Im not sure what opcode it is but im quite sure there is such an opcode.
  41. KamikazeSripterul

    CLEO Help Cleo request (i have no perms to post in requests section so sorry for posting here)

    This type of cheat is illegal on any kind of rp server. The word 'cheat' basically means 'advantage over other players'.
  42. KamikazeSripterul

    CLEO Help [HELP] textdraw

    Ah, nu stiam scriptere. Propuneam si eu o idee nu tre sa fii asa.
  43. KamikazeSripterul

    CLEO Help [HELP] textdraw

    Can you not get the position of the player and player_actor then find the distance between those 2? @cheetahftw1
  44. KamikazeSripterul

    CLEO Help Scan players in front of my car in a range of 100-200 meters

    Ok so i have made a code b4 getting the closest players name/id. Ill send you both and you can decide which one you want and how you gonna use it. You can think of it as a snippet and use it in the way you want. You need sampfuncs for it!
  45. KamikazeSripterul

    CLEO Help Cleo script dialog 3 in 1

    Well... poor explained and no screenshot/video.. I don't get what you mean nor what you need. Show a video of the process and more detailed of what the script it's supposed to do as well as what you already have of the script.
  46. KamikazeSripterul

    CLEO Help Total Players online

    Oh, sorry my bad.
  47. KamikazeSripterul

    CLEO Help Total Players online

    This is a snippet of how u can test if player is online. It will test if it is connected and if it is, it will add 1@ which is an integer and can be showed as 'chatmsg "%d" 1@'
  48. KamikazeSripterul

    CLEO Help Total Players online

    WHILE TRUE WAIT 0 FOR 0@ = 1 TO 1000 IF SAMP.IsPlayerConnected(0@) THEN 1@ += END END END
  49. KamikazeSripterul

    CLEO Help Position Script

    What text? Show picture or smthg. Explain more detailed.
  50. KamikazeSripterul

    [Requests] Cleo rename

    ...what do u mean? Change name of file? Of the account ur playing with? Change ur account ingame? Explain properly
  51. KamikazeSripterul

    CLEO Help Strings in capital letters

    From my knowledge i am quite sure printf only prints capital letters. I don't think you can change that but i might be wrong.
  52. KamikazeSripterul

    CLEO Help Get player Phone Number

    Hello! I want to make this as a call function but i am not sure how to use those and how to put them so they actually work. So here is what you have to do. 1. you will have command /teamag <id> <id> <id> <id> 2. for each of those id's you will type /number <id> 3. you will take the phone number...
  53. KamikazeSripterul

    CLEO Help cmd problem

    You just said 'whats wrong here'.. explain your script and what its supposed to do as well as bring video / screenshot to make thing clearer to what you're trying to do.
  54. KamikazeSripterul

    CLEO Help /next & /prev

    Its not chatmsg that doesnt work, its say that doesnt work..
  55. KamikazeSripterul

    CLEO Help /next & /prev

    Chatmsg works perfectly, i tried that but i asked someone else and they said it works.. they even showed me pic
  56. KamikazeSripterul

    CLEO Help /next & /prev

    @Zin why does it not work for me?? i use sampfuncs 5.4.1 and cleo 4.1.. it doesn't work and i'm not sure what's wrong.. It simply doesn't say anything then after 10-15 seconds it reconects me to the server..
  57. KamikazeSripterul

    CLEO Help /next & /prev

    {$CLEO} {$INCLUDE SF} 0000: thread "TesterCMD" repeat wait 0 until SAMP.Available() 15@ = 0 0B34: "start" @start 0B34: "stop" @stop 0B34: "next" @next 0B34: "prev" @previous WHILE TRUE WAIT 0 IF 10@ == -1 THEN chatmsg "{cecece}[TesterCMD]: {ff0000}Foloseste /next pentru...
  58. KamikazeSripterul

    Collection

    see if this works
  59. KamikazeSripterul

    Collection

    There is another route recorder that would probably help you but be careful!! With the helicopter it will move without leaning and u will get suspected of cheating as well for boats!! Planes are the only things you could hardly use.. pay attention to how the server reacts to this mod.
  60. KamikazeSripterul

    CLEO Help Compare PLAYERACTOR's car handle + Check if vehicle has a driver

    You need opcode to compare. 003B: 18@ == 21@ // (int) <-- this should do
  61. KamikazeSripterul

    CLEO Help Compare PLAYERACTOR's car handle + Check if vehicle has a driver

    Check if each player from the server is driving and get the car id. Then get the car that you are in. Finally compare if your car matches with any that the other players drive.
  62. KamikazeSripterul

    CLEO Help Block Raknet packets in 0.3dl NOP

    Probably because its a snippet.. you can use this snippet in a script. There is a difference between a script and a snippet.
  63. KamikazeSripterul

    CLEO Help Format String

    Hei! So i see in a few cleo's things like this '0AA5: call 0x8220AD num_params 3 pop 3 5@ "%*[^,], %[^,]" 28@'. Now, this is just an example but i am confused about "%*[^,], %[^,]". How do you know which characters you need for what?
  64. KamikazeSripterul

    CLEO Help cmd problem

    Try cleo 4.1 and sf 5.4.1.. Those are the ones i use and they work perfectly. It may also be from your samp / gta version.
  65. KamikazeSripterul

    CLEO Help cmd problem

    What sampfuncs / cleo version do you use?
  66. KamikazeSripterul

    CLEO Help auto hello %s

    No worries. @_Safa you can close this.
  67. KamikazeSripterul

    CLEO Help Modiying Walk or Sprint Path Cleo

    Oh yes, must've missed that.. sorry. @_Safa solved.
  68. KamikazeSripterul

    CLEO Help Modiying Walk or Sprint Path Cleo

    Its possibly from the mod. Try this with any other mod that u find.
  69. KamikazeSripterul

    CLEO Help Modiying Walk or Sprint Path Cleo

    Im not totally sure about this but as i said, recreate a directory with sampfuncs 5.4.1 and cleo 4.1 and see if it still does the same thing.
  70. KamikazeSripterul

    CLEO Help Modiying Walk or Sprint Path Cleo

    This is the problem. MODS ARE NOT ALL COMPATIBLE WITH LATEST CLEO / SAMPFUNCS. Most of the existing mods werent made for the latest cleo / sampfuncs versions. Using the latest versions its a HUGE mistake. I use sampfuncs 5.4.1 and cleo 4.1 and everything works perfect. Try use these and it might...
  71. KamikazeSripterul

    Can other cleo scripts not work because of other cleo scripts? (lol)

    No worries. @_Safa you can close this thread.
  72. KamikazeSripterul

    CLEO Help auto hello %s

    {$CLEO .cs} 0000: REPEAT WAIT 0 UNTIL 0AFA: 31@ = true WHILE TRUE WAIT 0 if 31@ == true then if 0B61: samp is_local_player_spawned then 0AC8: 0@ = allocate_memory_size 260 0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@ if 0AD4: 4@ = scan_string...
  73. KamikazeSripterul

    Can other cleo scripts not work because of other cleo scripts? (lol)

    Make a separate directory. Install gta (moduri.ro/gta) the install samp (moduri.ro/samp) then install sampfuncs and cleo. Try those mods afterwards.
  74. KamikazeSripterul

    Can other cleo scripts not work because of other cleo scripts? (lol)

    Reinstalling all GTA isnt that hard. You just need to copy and paste cleo and sampfuncs folders. Dont use latest sampfuncs / cleo, the version of sampfuncs / cleo might be the problem. Try using cleo 4.1 and sampfuncs 5.4.1, those are the one i use and everything works well. Old scripts such as...
  75. KamikazeSripterul

    CLEO Help auto hello %s

    Uh...theres a lot wrong with this code.. ill tell u the steps, u make them 1. Allocate memory 2. Get chat string, you only need text so for the other ones put the value as 0 3. Use 0ad4 (i think) to scan for the name, if the condition is met then go to step 4 4. You already have the player...
  76. KamikazeSripterul

    CLEO Help Solved

    IF 0@ == True THEN wait 3000 // press key END Don't get too complicated with timers and stuff, make it as simple as possible for yourself.
  77. KamikazeSripterul

    CLEO Help Cleo passenger command mod

    You make a for loop to fheck every player on loop. Check if their car model us the same as urs then type :heal
  78. KamikazeSripterul

    Pay bug

    ...you dont find the bug or..? I dont understand what u mean with ur request, thats why im asking for a video / screenshot
  79. KamikazeSripterul

    CLEO Help scan string issue

    @habbike05 i told u, u dont need break.. i am quite experienced and i never met break command in cleo..
  80. KamikazeSripterul

    CLEO Help scan string issue

    You don't need 'break' in your loop... you use END as you have already. Remove that 'break', that could cause the problem.
  81. KamikazeSripterul

    CLEO Help Reconnect+ by NarutoAU crashes

    Check which Cleo/ sampfuncs u need
  82. KamikazeSripterul

    Pay bug

    Video?
  83. KamikazeSripterul

    CLEO Help scan string issue

    Instead of wasting variable, what u dont need put as 0. So replace 16@, 17@ and 18@ with 0
  84. KamikazeSripterul

    CLEO Help scan string issue

    Why did u put 'break'?
  85. KamikazeSripterul

    CLEO Help Confirm Action

    So i tried to make a confirmation system but it doesn't work... So this is how it works. Once you type either /quitgroup or /quitclan, you will be displayed a dialog to ensure you want to quit the clan / group. After that, it will ask again in chat for key confirmation, so you have to press...
  86. KamikazeSripterul

    Help me please, I need to fix this cmd!

    You are wasting variables... Instead of using boolean (True / False) use integers (1, 2, 3 etc.). This will allow you to use a variable many times.. If 0@ == 1 then do one thing.. if 0@ == 2 then do another thing and so on.. you only have 31 variables which might not be enough for you.. 'Think...
  87. KamikazeSripterul

    CLEO Help Edit log-in text

    Ok so i realised my variables are wrong. { 0AD4: $NOT_USED = scan_string 10@ format "Your friend %s is now online." 5@ } It's supposed to be scan_string 28@ however something is still wrong. Whenever a player is connected, it says (null), so i'm guessing it still has to do with 0AD4.
Top