Search results

  1. KamikazeSripterul

    CLEO Help Allocating Memory

    I want to make an input dialog (style 1) in which a command will be typed. How much memory do i need to allocate in order to store that command in a .ini file?
  2. KamikazeSripterul

    CLEO Help key pressed

    @Parazitas do you know if there is any way to tell that key as letter / digit? So if I press '1' I will display 1 in chat, if I press 'A' it will display A in chat. If you don't know that okay, you've helped me enough anyways.
  3. KamikazeSripterul

    CLEO Help key pressed

    Yeah, I was gonna ask... What does 1@ *= 2 and 1@ += 0xB72CC8 do.. Is there a condition they must meet? Edit: Also, I wish only numbers and letters to work so it's not TOO confusing with which keys work and don't work if that's possible. @Parazitas.
  4. KamikazeSripterul

    CLEO Help key pressed

    I want to make a keybinder. And I want to be able to modify the keys from the game. I need to know which key I pressed. If I type '/keybind' a dialog comes up which I enter the text I need. After I submitted that, the chat says 'press the key you want this bind on'. Once the key is pressed, it...
  5. KamikazeSripterul

    CLEO Help key pressed

    Hey, I've been thinking of a cleo however im not sure how to get the key that has been pressed. So if i press 'F' the key will appear in chat. I don't want to write 'if key_down {key}' for every existing key. Is there any way to make it quicker and cleaner?
  6. KamikazeSripterul

    CLEO Help Cleo Keybinder problem! Please help me!

    Why do you want that structure..? It's useless and the one I gave you it's simpler as Hidend said. Make your life easier. Using jump to other labels it's more complicated and a higher chance of getting something wrong.
  7. KamikazeSripterul

    CLEO Help Cleo Keybinder problem! Please help me!

    {$CLEO} {$INCLUDE SF} 0000: thread "Keybinder" repeat wait 0 until SAMP.Available() WHILE TRUE WAIT 0 IF key_down 35 THEN say "/stats" END IF key_down 36 THEN say "/vehicles" END END This should work.
  8. KamikazeSripterul

    SAMPFUNCS

    How
  9. KamikazeSripterul

    CLEO Help Fish bot help.

    So you need to continuously press space until that bar is full?
  10. KamikazeSripterul

    CLEO Help cleo compile error (help)

    try see what @Parazitas said. you should have either IF AND or IF OR for multiple parameters.
  11. KamikazeSripterul

    CLEO Help cleo compile error (help)

    if 06BD: no_obstacles_between 7@ 8@ 9@ and 10@ 11@ 12@ solid 1 car 1 actor 1 object 1 particle 1 86BD: not no_obstacles_between 1@ 2@ 3@ and 4@ 5@ 6@ solid 1 car 1 actor 1 object 1 particle 1 else_jump @WALLRUN_761 wait 0 It should be IF <conditions> THEN You forgot about 'Then'.
  12. KamikazeSripterul

    CLEO Help Stop running cleo script

    What do you need these for? :EXAMEN 0B12: 31@ = 31@ XOR 1 SAMP.CmdRet() :COLLECT 0B12: 0@ = 0@ XOR 1 SAMP.CmdRet()
  13. KamikazeSripterul

    CLEO Help Stop running cleo script

    Ill try do it, just give me max 20mins.
  14. KamikazeSripterul

    CLEO Help Stop running cleo script

    U can either make a command setting a variable to 1. Add that variable to the 'IF AND' statement then at the end of the teleport is set to 0. That way, you can just start it again and again.
  15. KamikazeSripterul

    CLEO Help Stop running cleo script

    You can just quit game and join again?
  16. KamikazeSripterul

    CLEO Help Stop running cleo script

    I am confused about what you are trying to do. So you want to have an interval of 1minute between teleportations? + u have one command for 2 labels.. im not sure if thats a mistake or not
  17. KamikazeSripterul

    CLEO Help Stop running cleo script

    show us the code
  18. KamikazeSripterul

    CLEO Help auto /accept repar

    {$CLEO} {$INCLUDE SF} 0000: repeat wait 0 until SAMP.Available() 0BE3: raknet setup_incoming_rpc_hook @chat_hook 30@ = 0 0B34: "autorepair" @status WHILE TRUE WAIT 0 END :chat_hook 0BE5: raknet 31@ = get_hook_param PARAM_PACKETID if 31@ == RPC_ScrClientMessage then alloc 28@ 129 0C11...
  19. KamikazeSripterul

    CLEO Help auto /accept repar

    I know but he might not be using sampfuncs so it's good that he has both, at least we both have an idea so it's 100% solved. :D
  20. KamikazeSripterul

    CLEO Help auto /accept repar

    don't you have to allocate some memory for that?
  21. KamikazeSripterul

    CLEO Help auto /accept repar

    {$CLEO} {$INCLUDE SF} 0000: repeat wait 0 until SAMP.Available() 0BE3: raknet setup_incoming_rpc_hook @chat_hook WHILE TRUE WAIT 0 END :chat_hook 0BE5: raknet 31@ = get_hook_param PARAM_PACKETID if 31@ == RPC_ScrClientMessage then alloc 28@ 129 0C11: memset destination 28@ value 0...
  22. KamikazeSripterul

    CLEO Help auto /accept repar

    If you dont need the id, just get the chat string and once it has the phrase 'offered you repair' say '/accept repair'.
  23. KamikazeSripterul

    CLEO Help How to set dialog list item on a dialog with 2 columns

    It might be 0B49: samp set_current_dialoy_list_item 10 because the list starts at 0. So 0 would be Cell Phone, 1 would be MP3 Player and so on.
  24. KamikazeSripterul

    CLEO Help Turning car lights on

    HI! So I have been testing a few opcodes to see if i could automatically turn on the lights however, i have noticed that they are only turned on for me, not for the server i play on. The point is to set the car lights on while im in the car. The lights shouldnt be turned off at any time unless...
  25. KamikazeSripterul

    CLEO Help Command with multiple parameters

    So I need a command that can take multiple parameters. I'm not 100% sure how to make this but im certain that what i've tried isn't working. Imagine you have a command [/test <string> <integer>]. String beind either 'info' showing a dialog or 'start' which then requiers you to also enter an...
  26. KamikazeSripterul

    CLEO Help Car health warning

    Hi! I've made this car warning kind of thing for taxi drivers. Once it is lower than 500, it will put a warning in chat (chatmsg "warning" -1) however when i get in the car, i get lots of errors in chat then crash. May someone help? // repair warning IF AND 25@ == 1 0602: actor...
  27. KamikazeSripterul

    CLEO Help Active checkpoint

    Thank you soo much! I'll try learn new some stuff about calling functions. Thanks again.
  28. KamikazeSripterul

    CLEO Help Active checkpoint

    This might be useful however im not totally sure how to use call functions.. ive never been thought by anyone nor have needed this skill. Would you mind helping me figure out if there is an active checkpoint then chatmsg "active checkpoint" else chatmsg "no active checkpoint"
  29. KamikazeSripterul

    CLEO Help Active checkpoint

    Hi. How can I check for active checkpoint? I have only found a few opcodes that only create and other few things but not what i need. Can someone help me please?
  30. KamikazeSripterul

    CLEO Help PM flood

    Depends what your message is and what the command is.
  31. KamikazeSripterul

    CLEO Help Drive boat to marker

    May i see the code? Just wanted to use it for myself. Thanks!
  32. KamikazeSripterul

    [CLOSED] Accepting request

    This should work. Tell me if you get errors / crashes.
  33. KamikazeSripterul

    Anyone got this armour timer?

    And the other ones? The green text and the red, what do they mean?
  34. KamikazeSripterul

    Anyone got this armour timer?

    Can u translate the pics?
  35. KamikazeSripterul

    [LS-RP] Weapon reveler mod

    Confusing. Video?
  36. KamikazeSripterul

    teleport mode

    DM me with the server name. And ur discord if u like
  37. KamikazeSripterul

    Fake chat

    So u want to make a.. history of the commands uve used?
  38. KamikazeSripterul

    CLEO Help About dialogbox (easy)

    ... show us a picture of the payday... damn bro...
  39. KamikazeSripterul

    CLEO Help How to make a command if SAMP server has it but with a DIALOG.

    Here you go @Parazitas []. The problem I have faced doing this is, the player has a [TAG]. So you must remove that [TAG] first. The thing is, the user must put the [TAG] first in an .ini file or something to know exactly what to remove from the name. This is how the [TAG] of my clan look like. [].
  40. KamikazeSripterul

    CLEO Help About dialogbox (easy)

    Is it just a random dialog and you want to close it? Show me your script or picture with the dialog
  41. KamikazeSripterul

    CLEO Help About dialogbox (easy)

    Explain exactly what you need and what you use it for
  42. KamikazeSripterul

    CLEO Help About dialogbox (easy)

    picture? @Frozen
  43. KamikazeSripterul

    CLEO Help Need help to create a command

    {$CLEO} {$INCLUDE SF} 0000: thread "ClanCMD" repeat wait 0 until SAMP.Available() chatmsg "ClanCMD by Kristler" -1 0B34: "inv" @cinvite WHILE TRUE WAIT 0 alloc 1@ 260 SAMP.GetChatString(99, 1@, 0, 0, 0) IF AND 20@ == 1 0C18: $NOT_USED = strstr string1 1@ string2 "joined...
  44. KamikazeSripterul

    CLEO Help I have a problem with my code

    Is this solved or do you still need help?
  45. KamikazeSripterul

    CLEO Help Script Help

    So you basically just trying to create a normal marker for..an object or a person?
  46. KamikazeSripterul

    CLEO Help Selecting Dialog Item

    It's ok, another member has helped me. Thanks though.
  47. KamikazeSripterul

    CLEO Help Selecting Dialog Item

    So my aim is to select the 1st/2nd/3rd/4rd item of the dialog '/clan' which is a server dialog. The problem is that none of the commands dont work... which im not sure why.. Can anyone help please? {$CLEO} {$INCLUDE SF} 0000: thread "ClanCMD" repeat wait 0 until SAMP.Available() chatmsg...
  48. KamikazeSripterul

    Linking Scripts

    Would you mind helping me please? @monday
  49. KamikazeSripterul

    CLEO Help Ignore a specific message from the chat (hide it)

    @HowEnCokkien what do you mean by rpcs, nop etc? I'm quite sure those are keywords that beginners may not know. Would you mind explaining it? Also, he asked for deleting the message in the chat, you gave him an example of automatically replying to a certain message in the chat. I may have got...
  50. KamikazeSripterul

    Cleo Customer - For RP servers

    I think i could help but i need a bit more details. Do you have a video of the process? Also what is the command to accept your customer? Please explain in more detail.
  51. KamikazeSripterul

    CLEO Help GetPlayerColor

    Imi spune nu am voie sa downloadez acest fisier. @shanker
  52. KamikazeSripterul

    CLEO Help GetPlayerColor

    Complicat... uhm.. Sa fie un dialog ca si lista si sa fie: Players Online: (header) Police Departament: (numar de politisti on) Taxi: (taximetristi on) Paramedic Departament: (paramedici on) School Instructors: (instructori on) Daca selectezi una dintre ele, sa arate fiecare nume, tot intr-un...
  53. KamikazeSripterul

    Writing String To Dialog From Game

    :additem SAMP.IsCommandTyped(20@) 0C17: 18@ = strlen 20@ if 18@ > 0 then if 0AD4: 20@ = scan_string 20@ format "%d %s" 21@ 22@ then 0B36: samp 11@ = get_player_nickname 21@ end 0B9A: dialog 0@ listbox 3 insert_element 20@ with_data 1 after 0 0A9A: 31@ = openfile "CLEO\test.list"...
  54. KamikazeSripterul

    Writing String To Dialog From Game

    Yeah, thats how i thought about it too. Thanks for your help.
  55. KamikazeSripterul

    Writing String To Dialog From Game

    Okay so this is what I did. {$CLEO} {$INCLUDE SF} const EVENT_BUTTON_CLICKED = 257 EVENT_COMBOBOX_SELECTION_CHANGED = 513 EVENT_RADIOBUTTON_CHANGED = 769 EVENT_CHECKBOX_CHANGED = 1025 EVENT_SLIDER_VALUE_CHANGED = 1281 EVENT_EDITBOX_STRING...
  56. KamikazeSripterul

    CLEO Help GetPlayerColor

    That could actually be helpful to me, may I see it? @shanker
  57. KamikazeSripterul

    Linking Scripts

    Well... that didn't work... It says the command doesn't exist.. do you have any idea how I could do it?
  58. KamikazeSripterul

    Linking Scripts

    So i'd work if in 1.cs I would create a dialog with a list of items. If one of them is pressed, it will say a command which will be created in 2.cs. That should work right? I'm trying it now. Thank you so much.
  59. KamikazeSripterul

    Linking Scripts

    Cool, thankss.
  60. KamikazeSripterul

    Linking Scripts

    So I have a script with multiple ideas but to be neater, i wish to make 2 .cs files that could link to a common dialog. For example in 1.cs i have /servercmd (example) and if it will choose the 2nd item it will activate 2.cs continuing with the script from the 2nd .cs file. Is that possible?
  61. KamikazeSripterul

    Writing String To Dialog From Game

    E mai usor dar eu vreau sa invat mai multe… Stiu ca tii se pare o prostie sa invat pt nimic.. totusi e samp si nu ajuta cu nimic, dar eu vreau sa invat cat se poate de mult + ca mi se pare o idee destul de buna. Ma poti ajuta?
  62. KamikazeSripterul

    Writing String To Dialog From Game

    So I've thought of this idea of writing a specific message from the game. What i need exactly is the dialog box with the list of strings added throughout the game. The proccess is: > Type command [/list] (example) > Show the empty dialog with 2 buttons ADD and CLOSE > When press CLOSE, close...
  63. KamikazeSripterul

    CLEO Help Writing Strings

    Hello again. I've tried to make this fancy way of writing a string into a .ini file instead of just making a boring command however it doesnt work very well. 0B34: "acommand" @acommand WHILE TRUE WAIT 0 IF SAMP.DialogRespond(1000, 2@, 0, 3@) THEN IF 2@ == 0 THEN...
  64. KamikazeSripterul

    CLEO Help AutoClicker

    Thank you so much, it works perfectly!
  65. KamikazeSripterul

    CLEO Help AutoClicker

    I'm not sure how i'm supposed to use 0c18... Would it look something like? 0C18: 2@ = "AUTOCLICKER" 2@
  66. KamikazeSripterul

    CLEO Help AutoClicker

    So I've tried to make this cool autoclicker however it doesn't respond when i type the text in the chat... anyone knows why? Also, how would i test for the colour of the text too? {$CLEO} {$INCLUDE SF} 0000: thread "AutoClicker" repeat wait 0 until SAMP.Available() 0B34: "autoclicker"...
  67. KamikazeSripterul

    CLEO Help Different "Titles"

    @monday titles that can be displayed on screen.. for example chatmsg "Xxxxxxxxxx" or say "Hi" etc.
  68. KamikazeSripterul

    CLEO Help TEXT_BOX

    0AB1: @DRAW_TEXT 3 X 160.0 Y 230.0 String 22@ what is string 22@?
  69. KamikazeSripterul

    CLEO Help TEXT_BOX

    @Parazitas the thing is, i want to make a message that wont appear in chat but also it will appear somewhere on the screen then after 5-6 sec it will disappear. Thats why i thought of a text box
  70. KamikazeSripterul

    CLEO Help TEXT_BOX

    So I've tried to make a textbox once the whole script has been running but when i test it in game, nothing happens. alloc 2@ 260 0B75: samp get_chat_string 99 text_to 2@ prefix_to 3@ color_to 4@ prefix_color_to 5@ if or 4@ == 0xffffd700 4@ == 0xff4dad2b then...
  71. KamikazeSripterul

    CLEO Help Different "Titles"

    @franzela.py I had a look on the helping section of sanny builder but still didn't find anything..
  72. KamikazeSripterul

    CLEO Help Different "Titles"

    Ill have a look thanks a lot!
  73. KamikazeSripterul

    CLEO Help Different "Titles"

    Hi! So I know there are more types of "Titles" for example chatmsg, printstring, etc. Does anyone know how many there are and how they look like? Or if there is a link to such a thing? Thanks a lot!
  74. KamikazeSripterul

    CLEO Help writing string value to .ini

    Oh okay. Thanks a lot. I thought of the idea that u had to add one as you've found the first one, but it didnt rlly worked.. but thanks a lot
  75. KamikazeSripterul

    CLEO Help writing string value to .ini

    @Parazitas ok so the crash its gone, it was indeed from the chat message but now theres another problem... Bcoz there is another $ that says the amount that u have transferred or deposited, it writes the whole string... do u know how i can fix that?
  76. KamikazeSripterul

    CLEO Help writing string value to .ini

    Ahhh you might be right..i forgot the -1 at the end.. ill try as soon as i get home
  77. KamikazeSripterul

    CLEO Help writing string value to .ini

    So I've done this code, with the help of one of the members of this community, BUT it doesn't work rlly well and it crashes. I'm not sure if i need to allocate any memory or anything. Can someone help? --> Here's some videos to show the problem - /balance (it writes the right value in .ini file...
  78. KamikazeSripterul

    CLEO Help Getting value from chat string

    It does indeed return the string, but it gives a lot of errors and crashes. Can it be solved?
  79. KamikazeSripterul

    CLEO Help Getting value from chat string

    Do I need to allocate any memory?
  80. KamikazeSripterul

    CLEO Help Getting value from chat string

    And how exactly do I use this code in my code? I'm a bit confused. What do I have to do with it?
  81. KamikazeSripterul

    CLEO Help Getting Car Speed

    Ok, thx @Parazitas
  82. KamikazeSripterul

    CLEO Help Getting Car Speed

    Yeah.. If i'd use that "logger" in my script. How will it help and how do I need to use it. I'm sorry but I don't quite get it... If I put that script it will check the speed of my car on the server?
  83. KamikazeSripterul

    CLEO Help CLEO Password System Help

    Well firstly you could use 0C14 and as you type /pass <password / register>. Register can be used in case the player doesn't have a password set yet, after the player registers their password, write it to an .ini file. Then when you type /pass <password> you have to get the string from a .ini...
  84. KamikazeSripterul

    CLEO Help Getting value from chat string

    https://streamable.com/wn8sa Here is what I've tried to do and it crashed. You can see in yellow the string. @Parazitas
  85. KamikazeSripterul

    CLEO Help Getting Car Speed

    Can you exaplain a bit more what this "logger" does? Just so I know because from 02E3: 1@ = car 0@ speed I am getting a bit confused. What is opcode 0AD1, what does it do, what is %f and what is the 1337 for? I get the 1@ is the car speed, but the rest?
  86. KamikazeSripterul

    CLEO Help Getting value from chat string

    So what I've tried to do is to get the value from the chat and write it in .ini file. This is the string : Your account balance is now $25.255.525. It doesn't work. It just gives a lot of errors then crashes. alloc 2@ 260 0B75: samp get_chat_string 99 text_to 2@ prefix_to 3@ color_to 4@...
  87. KamikazeSripterul

    CLEO Help s% d% c% x%

    So I've seen a post that had a link towards the s% d% c% and x% but i cant find it anymore. Cand someone put up the link please? Thx
  88. KamikazeSripterul

    CLEO Help Getting Car Speed

    "states" is if the speed limiter was enabled and "state" is 1 / 2 which is 1 = 100km/h and 2 = 150km/h
  89. KamikazeSripterul

    CLEO Help Getting Car Speed

    So I've been trying to get the car's speed in order to make a limiter, if that makes sense, although it doesn't work and i dont really find the mistake.. Can someone help please? 0AF0: 5@ = get_int_from_ini_file "cleo\ServerCMD.ini" section "AntiTicket" key "states" 0AF0: 7@ =...
  90. KamikazeSripterul

    CLEO Help GetPlayerColor

    {$CLEO .cs} thread "PlayerColor" 0000: repeat wait 0 until SAMP.Available() 0B34: "playercolor" @playercolor 14@ = 0 while true wait 0 END :playercolor SAMP.IsCommandTyped(20@) if 0AD4: 20@ = scan_string 20@ format "%d" 21@ then if SAMP.IsPlayerConnected(21@) then...
  91. KamikazeSripterul

    CLEO Help GetPlayerColor

    {$CLEO .cs} thread "PlayerColor" 0000: repeat wait 0 until SAMP.Available() 0B34: "playercolor" @playercolor 14@ = 0 while true wait 0 END :playercolor SAMP.IsCommandTyped(20@) if 0AD4: 20@ = scan_string 20@ format "%d" 21@ then if SAMP.IsPlayerConnected(21@) then...
  92. KamikazeSripterul

    CLEO Help read_from_ini_file doesn't give information

    So in .ini file I put the value $2.500.512 and i made a dialog in which it would show the value. Here's the code if and 20@ == 1 21@ == 2 then 0AC8: 29@ = allocate_memory_size 75 0AF4: 29@ = read_string_from_ini_file "cleo\ServerCMD.ini" section...
Top