Search results

  1. KamikazeSripterul

    CLEO Help GetPlayerColor

    So I've tried to make a code in order to see player's color, for example, if a player is in a faction and has a different name color, i could see what that color is. Here's the code: {$CLEO .cs} thread "PlayerColor" 0000: repeat wait 0 until SAMP.Available() 0B34: "playercolor"...
  2. KamikazeSripterul

    CLEO Help Getting Chat String

    Thanks a lot!
  3. KamikazeSripterul

    CLEO Help Getting TXD ID

    Uhm sorry, I've found a cleo mod that told me the TXD. Thanks for help anyways.
  4. KamikazeSripterul

    [Tutorial] 0AB1: call_scm_function

    is there a specification of parameters you'd like to pass through depending on your script?
  5. KamikazeSripterul

    CLEO Help Getting Chat String

    {$CLEO .cs} thread "Auto-Clicker" 0000: repeat wait 0 until SAMP.Available() while true wait 0 END :autoclicker alloc 2@ 260 alloc 1@ 260 SAMP.GetChatString(1@, 2@, 3@, 4@, 5@) if or 0AD4: $NOT_USED = scan_string 2@ format "AFK LA PC" 0AD4...
  6. KamikazeSripterul

    CLEO Help Getting TXD ID

    Imagine the TXD is the time, on any other server. I'm guessing all servers have the server's country time.
  7. KamikazeSripterul

    CLEO Help Getting TXD ID

    Well... The first piece of code doesn't exactly tell me what the text is... It just says "textdraw with id <texdraw id> contains text" The second one just doesn't tell me what I want to know... Do you have any other way you could help me?
  8. KamikazeSripterul

    CLEO Help Getting Chat String

    So I tried to make a script in which when the following is been said, it would say the next things in "" but it doesn't work... Can anyone help me please? {$CLEO .cs} thread "Auto-Clicker" 0000: repeat wait 0 until SAMP.Available() while true wait 0 SAMP.GetChatString(1@...
  9. KamikazeSripterul

    CLEO Help Getting Chat String

    That's python language, not cleo :))))) But thanks for trying to help me
  10. KamikazeSripterul

    CLEO Help Getting Chat String

    when will you be able to help me? :(
  11. KamikazeSripterul

    CLEO Help Getting TXD ID

    Hi! So I've been questioning this to myself for a long time and looked at some examples of codes which used TXD ID. I can't figure it out how to get the TXD ID from the screen... if you know what i mean.. The server I currently play on has a HUD when you enter the car, which tell you the speed...
  12. KamikazeSripterul

    CLEO Help Getting Chat String

    what is the "local player spawned" meant to be as a code? I'm guessing the "do stucc" is the rest of the script from SAMP.GetChatString(1@,2@,3@,4@,5@). Can you explain in a bit more detail please?
  13. KamikazeSripterul

    CLEO Help Getting Chat String

    So I tried to make a script in which when the following is been said, it would say the next things in "" but it doesn't work... Can anyone help me please? {$CLEO .cs} thread "Auto-Clicker" 0000: repeat wait 0 until SAMP.Available() while true wait 0 SAMP.GetChatString(1@...
  14. KamikazeSripterul

    CLEO Help Dialog not giving right value

    Nevermind…. I messed up in the variables 0.0 I accidently put the variable with the id of the player from the .ini file as the amount instead of the actual amount...… I'm stupid :)) sorry
  15. KamikazeSripterul

    CLEO Help Dialog not giving right value

    So... The problem is... If I put $2000 in the dialog were it says "Please insert the amount of money you'd like to transfer to X", after you insert the amount, it only says $20 instead of $2000...
  16. KamikazeSripterul

    CLEO Help Dialog not giving right value

    So... I've tried this piece of code out and see if it works... It certainly doesn't work as I would expect it to.. Code: if SAMP.DialogRespond(830, 20@, 0, 25@) then if 20@ == 1 then 0C1A: 26@ = atoi 25@ if SAMP.IsPlayerConnected(26@) then...
  17. KamikazeSripterul

    CLEO Help %s & %d in a dialog

    Nevermind, my problem was solved. It was due to a small mistake.... I'm Sorry but thanks a lot for help, appreciated.
  18. KamikazeSripterul

    CLEO Help %s & %d in a dialog

    It doesn't put the right id and the right name in the Title
  19. KamikazeSripterul

    CLEO Help %s & %d in a dialog

    if SAMP.DialogRespond(830, 20@, 0, 25@) then if 20@ == 1 then 0C1A: 26@ = atoi 25@ 0AF1: write_int 26@ to_ini_file "cleo\ServerCMD.ini" section "Bank" key "idtransfer" if SAMP.IsPlayerConnected(19@) then 0B36...
  20. KamikazeSripterul

    [Tutorial] Text handling

    Ohh okay, thank you.
  21. KamikazeSripterul

    CLEO Help %s & %d in a dialog

    Thank you sooo muchhhh <3 Edit: How do you know how many bytes you need for allocate?
  22. KamikazeSripterul

    CLEO Help %s & %d in a dialog

    Would it work to do that to the title?
  23. KamikazeSripterul

    CLEO Help %s & %d in a dialog

    Hey. So ive tried to make a new script or something that i'd be able to use in a project i'm working on even though i'm not sure how to solve this. So here's the script: if SAMP.DialogRespond(830, 20@, 0, 25@) then if 20@ == 1 then 0C1A: 26@ = atoi 25@...
  24. KamikazeSripterul

    CLEO Help Question about 0C11

    Well, really, is meant to write the input from a dialog to a ini file. It certainly doesn't but a friend of mine told me im supposed to use alloc for the variable, even tho he didn't really explain how many bytes I need, or I just didn't understand properly.
  25. KamikazeSripterul

    CLEO Help Question about 0C11

    @monday How exactly do I know how many bytes I need for my script?
  26. KamikazeSripterul

    [Tutorial] Text handling

    @monday How do I know how many bytes I need for individual things?
  27. KamikazeSripterul

    CLEO Help Question about 0C11

    @monday what does the opcode 0C11 really do? Can you explain it in more detail to me please? Give an example as well IF possible
  28. KamikazeSripterul

    CLEO Help [Cleo] Automatic Frequency Set

    Hi! So I've tried to make this automatic ish thing that would eventually set a frequency you've input by using /freqno or if you type /freq off it'd turn it off but when i type /freq on or /freq off it crashes. Can this be solved??
  29. KamikazeSripterul

    [CLOSED] Accepting request

    1. Name of the mod (if the mod doesn't exist, you don't have to tell one): It doesn't have one 2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): I thought of it myself 3. What do you want (the most important part, explain this carefully): So what I...
  30. KamikazeSripterul

    CLEO Help [CLEO] Automatic [/puthelmet] on bikes

    Hi! I've tried to make a script in which when I enter a vehicle of type "Bike" it types /puthelmet automatic BUT if I go from a NRG-500 to a normal Bike, it says an error, as i'd be in a car. Anyone knows how to improve this script? Thanks 0AF0: 2@ = get_int_from_ini_file "cleo\ServerCMD.ini"...
  31. KamikazeSripterul

    CLEO Help Cleo Sripting ( Sanny Builder )

    The problem was that I forgot to add "end" to one of the "if" statements.
  32. KamikazeSripterul

    CLEO Help Cleo Sripting ( Sanny Builder )

    I tried to make a long dialog in which you can have several choices but certain this script is right because as I try to join the game, it shows a lot of errors in chat and then it crashes. What's wrong with the script? {$CLEO .cs} thread "CivilCMD" 0000: repeat wait 0 until...
Top