Search results

  1. H

    CLEO Help Weapon dat [SOLVED]

    figured it out. :)
  2. H

    CLEO Help Weapon dat [SOLVED]

    {  Change's the Weapon.dat value of Weapon ID to your custom one.  0AB1: @WEAPON_DAT 4 | -> Change Weapon 24 DAT 0x20 VALUE_TO 45 SIZE_OF_DAT 4 // MaxAmmo in Clip  Get DAT'S from http://hotmist.ddo.jp/struct.html } :WEAPON_DAT 0@ += 0x24 //+0x0 - no skill +0x19 - 50% skill +0x24 - 100% skill...
  3. H

    UGBASE - Show Your Faces!

    thanks, it actually made my lunch taste better!
  4. H

    CLEO Help Format crash

    you need to allocate memory if you want to format strings. example: alloc 16@ 64 format 16@ "enough memory here for 64 characters" //do things with the string free 16@
  5. H

    CLEO Help Little Help

    you have to move 0B34 out of the loop
  6. H

    CLEO Help get file name of CLEO script

    I'm trying to get the name of a CLEO script to a string to be used with 0A92: create_custom_thread "name.cs" to restart the script elsewhere. I did this so far, but it doesn't work properly if the name is more than 3 chars (xxx.cs) even with allocating memory to the string. Is there a memory...
  7. H

    CLEO Help getting the first X characters of a string

    for example:  alloc 0@ 64 format 0@ "UGBASE" //this could be any unknown string //need to get only the first three characters of the string to end up with UGB free 0@ I know you can do 0@ += 3 to get "ASE" but is there a similar way of getting the first 3 characters of any string?
  8. H

    CLEO Help using alloc in a function

    Thank you all for the help
  9. H

    CLEO Help using alloc in a function

    how do I properly use "alloc" and "free" inside a function? I am trying to return a string using the function, but when I free the allocated memory inside the function it returns random letters and symbols. It works if I don't free the memory in the function, but is this is a bad way? So for...
  10. H

    CLEO Help bugs.

    ITS DORSIFLEXION
  11. H

    Avoid login kick after 45seconds?

    Why exactly do you need to do this?
  12. H

    CLEO Help teleport hack

    I think he's a creature from outerspace trying to use Google Translate with his alien language. Maybe he wants a hack to teleport to Earth? idk
  13. H

    CLEO Help Snippets

    Most snippets are functions so reading this tutorial will help you understand how to use them: http://ugbase.eu/Thread-0AB1-call-scm-function For information on opcodes such as 0AD4: http://blast.hk/wiki/opcodes:sampfuncs:list (Google Translate if you don't speak Russian)
  14. H

    CLEO Help My first CLEO

    if not 31@ = samp.Base() then                     end_thread               else    while not samp.Available()    wait 100    end end It just a piece of code run once at the start of the script to check whether or not SAMP is installed (so you won't crash if you want to play singleplayer or...
  15. H

    CLEO Help Help please

    ^ printf is a shortcut or "keyword" for the opcode to show formatted text. You can add your own in keywords.txt in sannybuilder sa folder
  16. H

    CLEO Help SAMP Dialog

    0B3B: samp show_dialog id 0 caption "Dialog" text "First line" button_1 "Select" button_2 "Done" style DIALOG_STYLE_LIST What is the correct way to add more lines to choose from in the listbox? This is for the basic SAMP dialog and not the SAMPFUNC one thank you. Also will the ID conflict with...
  17. H

    Is weapon finder detected?

    It can't be detected by the server
  18. H

    CLEO Help Beginner needs help

    Uninstall CLEO 4.3 and install CLEO 4.1 and Silents asi loader ontop of it. It should work
  19. H

    CLEO Help Deleting characters from a string

    Hmm thats seems to crash my game
  20. H

    CLEO Help Deleting characters from a string

    What is the simplest way to delete the first two characters from a string? I have both newOpcodes and SAMPFUNCS format 0@ "xxstring" //how to cut "xx"?
Top