Search results

  1. R

    CLEO Help If a player is in a vehicle do a chat command.

    use this {$CLEO} 0000: NOP repeat wait 50 until 0AFA: is_samp_structures_available 1@ = 1 while true wait 0 alloc 0@ 256 format 0@ "z" if Actor.Driving($PLAYER_ACTOR) then if 1@ == 1 then wait 500 0AB1: @SAY 1 0@ 1@ = 0 end...
  2. R

    Cleo Customer - For RP servers

    http://ugbase.eu/index.php?threads/read-how-to-request-mods.9842/
  3. R

    How to call a function from a pointer

    no, you noob, there is no such thing as a compiled scripting language.
  4. R

    How to call a function from a pointer

    A script or scripting language is a computer language with a series of commands within a file that is capable of being executed without being compiled. Good examples of server-side scripting languages include Perl, PHP, and Python. The best example of a client side scripting language is...
  5. R

    Writing String To Dialog From Game

    31@ is the file, 20@ is the string you want to write, and 10 is the ascii code for the new line character. to get player nickname you can do something like this maybe 11@ is the player nickname and 22@ is the other string SAMP.IsCommandTyped(20@) if 0AD4: 20@ = scan_string 20@ format "%d %s"...
  6. R

    How to call a function from a pointer

    Also don't call the things i say retarded when you are calling cleo a scripting language, scripts don't have to be compiled but cleo does. Scripting language implies you don't have to compile your code, so please watch your tone cause i really don't appreciate it especially from someone who just...
  7. R

    How to call a function from a pointer

    yeah memory management for strings and the way you format strings in cleo is nothing like c++
  8. R

    Writing String To Dialog From Game

    All i can give you is this, commands are /list to show the list and /additem <text> to add to the list, the items get saved to a file inside your cleo folder and you can seee them even after you close the game {$CLEO} {$INCLUDE SF} const EVENT_BUTTON_CLICKED = 257...
  9. R

    How to call a function from a pointer

    as you can see in the topic the offset is not 0x001 like you said it's something else, you can see there are more offsets there depending on the samp version you are running, after you get the address for samp dll you just add the offset and do this 0AA5: call $hPROC num_params 1 pop 0 $param...
  10. R

    How to call a function from a pointer

    dude you just have to translate it to c++, i don't know how to do that because i never used c++ but it shouldn't be too hard, honestly if you can't read cleo and you say you know c++ then you should quit programming. As far as i know Cleo is similar to c++ in many aspects.
  11. R

    How to call a function from a pointer

    do you even search: http://ugbase.eu/index.php?threads/snippet-write-in-chat-without-sfuncs-0af8-0af9.3814/
  12. R

    Writing String To Dialog From Game

    Nu e greu dar de ce vrei sa faci treaba asta? Nu e mai usor sa iei o foaie de hartie si sa scii datele astea?
  13. R

    CLEO Help commas number

    maybe this is not the best way to do it but it should work {$CLEO} 0000: NOP repeat wait 50 until 0AFA: is_samp_structures_available while true wait 0 alloc 0@ 256 0C11: memset destination 0@ value 0 size 256 format 0@ "123" call @numberwithcommas 1 0@ chatmsg "%s" -1 0@ 0C11: memset...
  14. R

    [LOCK] Car flip

    my car flip had some problems when car was in the upward position it would spin a lot, here it is fixed
  15. R

    Command on nearest player's ID

    command is /autofix
  16. R

    Auto accept

    http://ugbase.eu/index.php?threads/sampfuncs-mod-help.21001/#post-123018
  17. R

    CLEO Help AutoClicker

    0C18: $NOT_USED = strstr string1 2@ string2 "AUTOCLICKER"
  18. R

    [Request]Cleo function add

    eu am vazut video pe youtube ca dai gethit id pe og times, pune atunci sa fie pe find, asta trebuie sa mearga, nu are de ce sa fie buguit {$CLEO} 0000: NOP repeat wait 50 until 0AFA: is_samp_structures_available 31@ = 0 10@ = 0 15@ = 0 17@ = 1 12@ = -1 0ac8: 20@ = 260 0B34: samp...
  19. R

    CLEO Help Who know to scripting realy good

    nice bait lol
  20. R

    [Request]Cleo function add

    Incearca asta: {$CLEO} 0000: NOP repeat wait 50 until 0AFA: is_samp_structures_available 31@ = 0 10@ = 0 15@ = 0 17@ = 1 12@ = -1 0ac8: 20@ = 260 0B34: samp register_client_command "undercover" to_label @activated_400 0B34: samp...
  21. R

    [Request]Cleo function add

    Frate eu sunt gumball3000 si nici macar eu nu inteleg ce vrei sa faci, in modul tau antifw nu este niciun /gh, pe ce server vrei sa folosesti?
  22. R

    Get last player hit ID in samp

    why do you need to know the last player you hit, what are you actually trying to do?
  23. R

    Just a small change in this CLEO

    ok, you were right, the cleo you posted had a function to get player position for streamed out players but it was impossible to edit because it was using some old format, anyway i made this for you, commands are /.find and /.stopfind, i hope it helps:
  24. R

    Just a small change in this CLEO

    I don't know when that was but right now it's impossible to get player position if he is outside the stream zone.
  25. R

    [LOCK] Car flip

    I made this car flip, it's automatic no need to press any keys, it looks pretty natural, i don't think you will get caught with it.
  26. R

    CLEO Help DialogClose

    {$CLEO} {$INCLUDE SF} 0000: repeat wait 0 until samp.Available() while true wait 0 alloc 1@ 256 if 0B4C: samp is_dialog_active -1 then 0C11: memset destination 1@ value 0 size 256 0BD8: samp get_dialog_caption 1@ if 0C18: $NOT_STRING = strstr string1 1@...
  27. R

    CLEO Help search str1 in str2

    incearca asta: {$CLEO} {$INCLUDE SF} 0000: repeat wait 0 until samp.Available() chatmsg "TagRemover by gumball3000" -1 0B34: samp register_client_command "removetag" to_label @gumball_123 while true wait 0 end :gumball_123 alloc 0@ 256 alloc 1@ 256 format 0@ "gumball3000[TAG]" format 1@...
  28. R

    Just a small change in this CLEO

    Thats in your mind only, the range is the same, it's the stream range of samp which is about 200m
  29. R

    CLEO Help Who is shooting at my car

    Nevermind i figured it out, thanks for the help.
  30. R

    CLEO Help Preesing Key

    yeah lol, i am wondering about that too
  31. R

    CLEO Help Preesing Key

    {$CLEO} {$INCLUDE SF} 0000: NOP repeat wait 50 until 0AFA: is_samp_structures_available while true wait 0 if key_down 79 then 0AB1: @Set_Virtual_Key 2 KeyOffSet 0x4E time 30 wait 10000 end end :Set_Virtual_Key 2@ = 0xB72CC8 0@ *= 2 005A: 2@...
  32. R

    CLEO Help Preesing Key

    {$CLEO} {$INCLUDE SF} 0000: NOP repeat wait 50 until 0AFA: is_samp_structures_available 0B34: samp register_client_command "presskey" to_label @activated 31@ = 0 while true wait 0 if 31@ == 1 then 0AB1: @Set_Virtual_Key 2 KeyOffSet 0x4E time 30 wait 10000 end end...
  33. R

    CLEO Help Who is shooting at my car

    well i did that but i have a nasty problem, when i am reading the bitstream which has this structure:https://wiki.sa-mp.com/wiki/OnPlayerWeaponShot if i read the first parameter as BS_TYPE_BYTE and the id of the player who did the damage is less than 255 all works fine but if his id is bigger...
  34. R

    CLEO Help dialog help

    Like this: {$CLEO .cs} 0000: NOP repeat wait 0 until SAMP.Available() 0B34: samp register_client_command "sgt" to_label @cmd_mycmd while true wait 0 alloc 24@ 256 0C11: memset destination 24@ value 0 size 256 if 0B3C: samp is_dialog_responded id 246 button 2@ list_item 3@...
  35. R

    Automatically select from DIALOG, when DIALOG is opened, and click the first button.

    use this loop then while true wait 0 if 0B4C: samp is_dialog_active -1 then // do something here end end or this one with activation key z 2@ = 0 while true wait 0 if key_down 90 then if not 1@ == 1 then 1@ = 1 0B12: 2@ =...
  36. R

    Automatically select from DIALOG, when DIALOG is opened, and click the first button.

    Use this {$CLEO} {$INCLUDE SF} 0000: NOP repeat wait 50 until 0AFA: is_samp_structures_available 5@ = 0 //index for dialog list, 0 is the first item while true wait 0 if key_down 90 then if 1@ == 1 then wait 0 else 1@ = 1...
  37. R

    CLEO Help Who is shooting at my car

    no help, need a way to detect who did damage to the car
  38. R

    CLEO Help Who is shooting at my car

    @monday help
  39. R

    Im Looking for cleo mods called ccontrol

    Here is not encrypted, i posted that one somewhere else.
  40. R

    Im Looking for cleo mods called ccontrol

    Use this, is made by me.
  41. R

    CLEO Help SAMPFUNCS MOD HELP

    ok then use 0AD4: $NOT_USED = scan_string 27@ format "{FFFF45}Use [/accept licence %d] to accept licence request." 5@ or 0AD4: $NOT_USED = scan_string 27@ format "{FFFF45}Use [/accept licence %d] to accept licence request.\n" 5@ N-ai pt ce.
  42. R

    CLEO Help SAMPFUNCS MOD HELP

    try with this {$CLEO} {$INCLUDE SF} 0000: repeat wait 0 until samp.Available() 0BE3: raknet setup_incoming_rpc_hook @acl while true wait 0 end :acl 5@ = 0 0BE5: raknet 31@ = get_hook_param PARAM_PACKETID if 31@ == RPC_ScrClientMessage then alloc 27@ 256 0C11: memset destination 27@...
  43. R

    CLEO Help SAMPFUNCS MOD HELP

    {$CLEO} {$INCLUDE SF} 0000: repeat wait 0 until samp.Available() 0BE3: raknet setup_incoming_rpc_hook @acl while true wait 0 end :acl 5@ = 0 0BE5: raknet 31@ = get_hook_param PARAM_PACKETID if 31@ == RPC_ScrClientMessage then alloc 27@ 256 0C11: memset destination 27@ value 0 size...
  44. R

    CLEO Help DamageReducer.cs edit

    put the contents of folder "sb data" here using replace C:\Program Files (x86)\Sanny Builder 3\data\sa here you can find sb data folder http://www80.zippyshare.com/v/yJOItWhn/file.html
  45. R

    CLEO Help Who is shooting at my car

    Hi, i am trying to get the actor handle of the player who is shooting at my car Here is what i tried but it doesn't work and it wouldn't be very efficient either. FOR 12@ = 0 to 999 IF SAMP.IsPlayerConnected(12@) THEN...
  46. R

    CLEO Help Detect when i talk in chat

    I want to perform an action when i talk in the normal chat, is there any way to detect that i sent a message in normal chat? I want to exclude all commands from this detection for example: If i say "hello" i want to trigger the detection but "/r hello" which sends a message trough the radio on...
  47. R

    [IMP] LANGUAGE TRANSLATE RP SERVERS [ RO TO ENG]

    https://www.youtube.com/watch?v=p1Q2WFuOlnk
  48. R

    CLEO Help Scan string problem

    This is the chatline Name: {CECECE}Ravenous{FFFFFF} | Number: {CECECE}6969 if i do 0AD4: 28@ = scan_string 1@ format "Name: {CECECE}Ravenous{FFFFFF} | Number: {CECECE}%d" 6@ then 6@ gets the value 6969 if i do 0AD4: 28@ = scan_string 1@ format "Name: {CECECE}%s{FFFFFF} | Number: {CECECE}%d"...
  49. R

    CLEO Help Scan string problem

    Can someone tell my this isn't working? {$CLEO} 0000: NOP repeat wait 50 until 0AFA: is_samp_structures_available 0B34: samp register_client_command "chl" to_label @activated_76764 0B34: samp register_client_command "test" to_label @activated_76765   While true wait 0 0ac8: 1@ = 260...
  50. R

    CLEO Help Is it possible to spawn a dialog?

    I tried like 3 and none seem to have that option :( my problem is that the sf opcode always returns 0  or 1
  51. R

    CLEO Help Is it possible to spawn a dialog?

    How to find out the id? I tried using 0B4E: samp 1@ = get_current_dialog_id but it just returns 0.
  52. R

    CLEO Help Change attached object position

    Is there any way of changing the position of an object that is attached to a car? For example the server i play on has sirens attached to polie infernuses that look bad with custom models for infernus. I would like to change the position of those sirens.  :sadpepe:
  53. R

    Working "Nametag" hack for 0.3.7 R2

    http://ugbase.eu/Thread-NameTagHack-0-3-7-CLEO-EXE-ASI
  54. R

    CLEO Help Why is this working with cleo 4.1 but it doesn't with cleo 4.3

    How would i go about getting the closest player to me? I could loop trough all the players check if they are in stream, get the distance between me and them but then what? I've been looking around and cleo doesn't have comparison operators like "<" or  ">". How to check which player is actually...
  55. R

    CLEO Help Why is this working with cleo 4.1 but it doesn't with cleo 4.3

    :cmd_114 SAMP.IsCommandTyped(20@)     if 056D: does_char_exist $PLAYER_ACTOR     then     0AB5: store_closest_entities $PLAYER_ACTOR vehicle_to 0@ ped_to 1@         if 056D: does_char_exist 1@         then         0AB5: store_closest_entities 1@ vehicle_to 5@ ped_to 6@             if 056E...
  56. R

    CLEO Help "wait" doesn't do what i want it to do

    Thanks, afty many trial and error attempts i came up with this hobo nested ifs aproach that seems to do the trick  :forever_hurra: // This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013 {$CLEO .cs}...
  57. R

    CLEO Help "wait" doesn't do what i want it to do

    Ok here it is: // This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013 {$CLEO .cs} //-------------MAIN--------------- thread "mdcstream" const COLOR = 0xFFE3336D end :mdcc_5 wait 0 if   SAMP.Available else_jump @mdcc_5 0B34...
  58. R

    Untagged Release Map Pirate PLUS | Copy server maps!

    Re: <img class= How would you go about copying a whole map and making sue everything is copied?
  59. R

    CLEO Help "wait" doesn't do what i want it to do

    Tried putting it before the /mdc but nothing changes I cannot use this, i want my script to go trough all players from 0 to 999, to check if they ae in stream then check if they have the specified color and only then to send a command which has their id in it. Basically if a player is in...
  60. R

    CLEO Help "wait" doesn't do what i want it to do

    I have this piece of code, my problem with it is that it sends /mdc commands too fast, i want there to be a delay between sending commands but "wait" doesn't do anything even if i put wait 10000 the commands are still being sent instantly. // This file was decompiled using SASCM.ini published...
Top