Search results

  1. [RP]Foolish

    CLEO Help Help with 0470

    if 9@ == 34
  2. [RP]Foolish

    Online player counter by color on TAB

    which version of samp?
  3. [RP]Foolish

    CLEO Help Help with script

    repeat wait 0 until 80EC: not actor $PLAYER_ACTOR sphere 0 near_point 1220.1060 -1422.9386 radius 1.2 1.2
  4. [RP]Foolish

    I need help scripting an AHK

    to check if the chat is open u need to read internal game stuff (in memory). to do this easily u can change this script to a cleo, or use SAMP UDF to read game memory in auto-hot-key (but if ur samp version isn't R1 you'll need to update the offsets..)
  5. [RP]Foolish

    CLEO Help samp ahk read chatlog

    You need Sampfuncs SB Data installed. Check it here
  6. [RP]Foolish

    CLEO Help samp ahk read chatlog

    [CLEO] 0.3.7 R1 USING SAMPFUNCS: {$CLEO .cs} 0000: NOP REPEAT WAIT 1000 UNTIL 0afa: alloc 0@ 128 alloc 1@ 128 WHILE TRUE WAIT 0 if 0B61: samp is_local_player_spawned then 0B75: samp get_chat_string 99 text_to 0@ prefix_to $NOT_USED color_to $NOT_USED prefix_color_to...
  7. [RP]Foolish

    CLEO Help samp ahk read chatlog

    does this need to be in this version and need to be .ahk? as I said, SAMP-UDF was made for SAMP 0.3.7 R1...
  8. [RP]Foolish

    CLEO Help samp ahk read chatlog

    if u play on 0.3.7 R1 https://github.com/paul-phoenix/SAMP-UDF-for-AutoHotKey if not, you will have to update the offsets/pointers.
  9. [RP]Foolish

    CLEO Help Help to read the chat and send a reply

    {$CLEO .cs} 0000: NOP repeat wait 0 until 0afa: alloc 0@ 260 //nickname alloc 1@ 260 //formatted string to compare alloc 2@ 260 //chatstring WHILE TRUE WAIT 0 if 0B61: samp is_local_player_spawned then //here u can edit to get your target name, i think it is your local...
  10. [RP]Foolish

    AHK to CLEO

  11. [RP]Foolish

    CLEO Help if hp lower than 50, it auto type a command

    {$CLEO .cs} 0000: REPEAT WAIT 1000 0A8D: 31@ = readMem 0xC8D4C0 sz 4 vp 0 UNTIL 31@ == 9 // SAMP_IS_READY 0AC8: 30@ = allocate_memory_size 260 0AD3: 30@ = format "/usepot" WHILE TRUE WAIT 0 if 0AB1: @SAMPIsLocalPlayerSpawned 0 then 04DD: 0@ = actor $PLAYER_ACTOR armour...
  12. [RP]Foolish

    CLEO Help if hp lower than 50, it auto type a command

    {$CLEO .cs} 0000: REPEAT WAIT 1000 0A8D: 31@ = readMem 0xC8D4C0 sz 4 vp 0 UNTIL 31@ == 9 // SAMP_IS_READY 0AC8: 30@ = allocate_memory_size 260 0AD3: 30@ = format "/usepot" WHILE TRUE WAIT 0 if 0AB1: @SAMPIsLocalPlayerSpawned 0 then 0226: 0@ = actor $PLAYER_ACTOR health...
  13. [RP]Foolish

    CLEO Help if hp lower than 50, it auto type a command

    it will only work on samp 0.3.7 R1 using SAMPFUNCS
  14. [RP]Foolish

    CLEO Help if hp lower than 50, it auto type a command

    {$CLEO .cs} 0000: NOP repeat wait 0 until 0afa: while true wait 0 if 0B61: samp is_local_player_spawned then 0B25: samp 0@ = get_player_health $PLAYER_ACTOR if 0@ < 50 then say "/usarkit" wait 1000 end end end
  15. [RP]Foolish

    CLEO Help if hp lower than 50, it auto type a command

    samp version? using sampfuncs?
  16. [RP]Foolish

    CLEO Help How to fix duplicate textdraw

    why you let your code like that?
  17. [RP]Foolish

    CLEO Help Cleo script lock on only one nickname

    Without sampfuncs: {$CLEO .cs} 0000: NOP REPEAT WAIT 1000 0A8D: 0@ = readMem 0xC8D4C0 sz 4 vp 0 UNTIL 0@ == 9 // SAMP_IS_READY :verifyNickname wait 5000 0AC8: 0@ = allocate_memory_size 128 0AC8: 1@ = allocate_memory_size 128 0AB1: call_scm_func @Get_LocalPlayer_Name 0 0@ 0AD3: 1@ = format...
  18. [RP]Foolish

    CLEO Help Cleo script lock on only one nickname

    using Sampfuncs: 0AC8: 0@ = allocate_memory_size 128 0B2B: samp 1@ = get_player_id_by_actor_handle $PLAYER_ACTOR 0B36: samp 0@ = get_player_nickname 1@ if 0C14: strcmp string1 0@ string2 "your_nickname" // <-- case sensitive! then //same nickname else 004E: end_thread //kill cleo...
  19. [RP]Foolish

    CLEO Help AHK to .CS

    {$CLEO .cs} 0000: REPEAT WAIT 1000 0A8D: 31@ = readMem 0xC8D4C0 sz 4 vp 0 UNTIL 31@ == 9 // SAMP_IS_READY 0AC8: 0@ = allocate_memory_size 128 0AD3: 0@ = format "/ke" 0AC8: 1@ = allocate_memory_size 128 0AD3: 1@ = format "/ya" WHILE TRUE WAIT 0 if 0ab0: 78 // N then...
  20. [RP]Foolish

    CLEO Help AHK to .CS

    samp version?
  21. [RP]Foolish

    CLEO Help Auto Read and Answer

    wut???? what version of sanny builder are you using? try to test cleo attached here
  22. [RP]Foolish

    CLEO Help Write automatically commands after joining a server

    certainly, it's a little bit strange to me this premature spawning
  23. [RP]Foolish

    CLEO Help Write automatically commands after joining a server

    you can change the const COOLDOWN to a greater value about crashes I think it might be about allocating memory constantly, so I moved it to the beginning of the script {$CLEO .cs} 0000: repeat wait 0 until 0AFA: CONST COOLDOWN = 650 //milisseconds END alloc 0@ 128 alloc 1@ 128 while...
  24. [RP]Foolish

    CLEO Help Write automatically commands after joining a server

    lol, so the server keep u spawned even when you're not logged in I tried using the isDialogResponded snippet from @Parazitas, but I failed, maybe he can make using it try it: {$CLEO .cs} 0000: repeat wait 0 until 0AFA: CONST COOLDOWN = 50 END while true wait 0 if and 0B4C...
  25. [RP]Foolish

    CLEO Help Write automatically commands after joining a server

    I can't compile it because my SannyBuilder charset is in conflict xD, try it: {$CLEO .cs} 0000: repeat wait 0 until 0AFA: CONST COOLDOWN = 50 END while true wait 0 if 0B4C: samp is_dialog_active -1 then alloc 0@ 248 alloc 1@ 248 0BD8: samp...
  26. [RP]Foolish

    CLEO Help Write automatically commands after joining a server

    ok, can u get the dialog text? to make some verifications... use this cleo that I attached here. When the last dialog appears press F2, it will show 2 lines in the chat window then go to your Documents\GTA San Andreas User Files\SAMP\chatlog.txt and copy paste the two lines here
  27. [RP]Foolish

    CLEO Help Write automatically commands after joining a server

    if it doesn’t work, you’ll need to get the caption text in the login dialog and check when it is closed {$CLEO .cs} 0000: repeat wait 0 until 0AFA: CONST COOLDOWN = 50 END :waitSpawn wait 0 if 0B61: samp is_local_player_spawned 004D: jump_if_false @waitSpawn if 0B4C: samp...
  28. [RP]Foolish

    Untagged Release New auto_getmats.cs

    try it {$CLEO} 0000: NOP REPEAT WAIT 1000 0A8D: 0@ = readMem 0xC8D4C0 sz 4 vp 0 UNTIL 0@ == 9 // SAMP_IS_READY 0ac8: 15@ = 260 0ad3: 15@ = "/getmats" :GetMats wait 0 if and 0256: player $PLAYER_CHAR defined 00DF: actor $PLAYER_ACTOR driving then if or...
  29. [RP]Foolish

    CLEO Help what mod is this

    Do you use SAMPFUNCS? take a look at this opcode: 0B38: samp connect_to_server "127.0.0.1" port 7777
  30. [RP]Foolish

    CLEO Help Help my game crashes from my cleo that i made

    nah, the two ways is correct if condition then end or if condition then end
  31. [RP]Foolish

    CLEO Help Help my game crashes from my cleo that i made

    and you have Sampfuncs Data installed in your SannyBuilder? .. the source code is the same, like I said, the problem is when u compile it: {$CLEO .cs} 0000: WHILE TRUE WAIT 0 if 0AB0: key_pressed 96 //NUMPAD 0 then 0AF9: samp say_msg "/jetpack" wait 500 end...
  32. [RP]Foolish

    CLEO Help Help my game crashes from my cleo that i made

    I can make it but it would be good if you check why your cleo compilation is not working correctly 1. Your samp has SAMPFUNCS? (because 0AF9: only works when u have it) 2. Your Sanny Builder has Sampfuncs Data? (because 0AF9: only compile correctly if u have it): Check how to install here...
  33. [RP]Foolish

    CLEO Help Help my game crashes from my cleo that i made

    try w/ this opcode 0AB0: key_pressed 96
  34. [RP]Foolish

    CLEO Help Help my game crashes from my cleo that i made

    https://ugbase.eu/threads/all-virtual-key-codes.2154/
  35. [RP]Foolish

    CLEO Help can this block of script from ahk can be converted to cleo? how?

    pressing f2: {$CLEO .cs} 0000: NOP REPEAT WAIT 1000 0A8D: 0@ = readMem 0xC8D4C0 sz 4 vp 0 UNTIL 0@ == 9 // SAMP_IS_READY 0AC8: 1@ = allocate_memory_size 260 0AD3: 1@ = format "/mi" 31@ = 0 while true wait 0 if 0AB0: is_key_pressed 113 //F2 then if 31@ == 0 then...
  36. [RP]Foolish

    CLEO Help can this block of script from ahk can be converted to cleo? how?

    Without Sampfuncs: {$CLEO .cs} 0000: NOP REPEAT WAIT 1000 0A8D: 0@ = readMem 0xC8D4C0 sz 4 vp 0 UNTIL 0@ == 9 // SAMP_IS_READY 0AC8: 1@ = allocate_memory_size 260 0AD3: 1@ = format "/mi" while true wait 5000 0AB1: @SEND_CMD 1 text 1@ end :SEND_CMD { 0AB1: @SEND_CMD 1 text 0@...
  37. [RP]Foolish

    CLEO Help I need to be able to do spec for all users

    are you using sampfuncs? i changed the opcode that add one to the 2@ variable, try it again
  38. [RP]Foolish

    CLEO Help I need to be able to do spec for all users

    try to store the last player spected id {$CLEO .cs} 0000: repeat wait 0 until 0AFA: 0B34: samp register_client_command "aspec" to_label @cmd_mycmd 2@ = 0 WHILE TRUE WAIT 0 IF 31@ == 1 THEN 31@ = 0 0C8A: samp 0@ = get_max_player_id streamed_only 0 IF 001D: 2@...
  39. [RP]Foolish

    CLEO Help Getting text from a listitem

    The values remain stored in memory even after closing the dialog, but are replaced when another dialog is opened, because SAMP does not support multiple dialogs. So, you don't need to get the id in client-side, but if you still want to, SAMPFUNCS provides some opcodes for that: 0B4E: samp 1@ =...
  40. [RP]Foolish

    CLEO Help Getting text from a listitem

    @Parazitas is a man ahead of time There are good snippets here, I recommend checking
  41. [RP]Foolish

    CLEO Help Get other players car's headlights state (turned off/on)

    According to the Memory Addresses (SA), vehicle pointer + 1424 (or 0x584 in HEX) = headlight state :IS_VEHICLE_HEADLIGHTS_ON { if 0AB1: @IS_VEHICLE_HEADLIGHTS_ON 1 car_handle 0@ then //car headlight value is greater than 0 end } 0A97: 31@ = car 0@ struct if 31@ <= 0 then...
  42. [RP]Foolish

    CLEO Help open browser in samp

    :OpenLink { 0AC8: 0@ = allocate_memory_size 128 0AD3: 0@ = format "www.google.com" 0AB1: call_scm_func @OpenLink 1 0@ //IF AND SET 0AC9: free_allocated_memory 0@ } IF 0AA2: 31@ = "shell32.dll" THEN 0AA4: 30@ = "ShellExecuteA" 31@ 0AA7: call 30@ 6 0 0 0 0 0@ "open" 0 29@...
  43. [RP]Foolish

    CLEO Help find memory address

    [SNIPPET] Send KeyPress via Gta
  44. [RP]Foolish

    CLEO Help Getting own player's ID and username

    The 0B36: samp 2@ = get_player_nickname requires the ID, not handle, so: {$CLEO .cs} 0000: repeat wait 10 until Samp.Available() while true wait 0 0B2B: samp 0@ = get_player_id_by_actor_handle $PLAYER_ACTOR 0B36: samp 1@ = get_player_nickname 0@ printf "Name: %s ID: %d" 400 1@ 0@...
  45. [RP]Foolish

    CLEO Help eee

    08AF: set_actor $PLAYER_ACTOR max_health_to 500 0223: set_actor $PLAYER_ACTOR health_to 101
  46. [RP]Foolish

    CLEO Help NOP SetVehicleVelocity

    {$CLEO .cs} 0000: NOP repeat wait 0 until 0afa: repeat wait 0 until 0AA2: 0@ = "samp.dll" 0@ += 0x015030 0A8C: write_memory 0@ size 2 value 0xC390 virtual_protect 1 end_thread
  47. [RP]Foolish

    CLEO Help cmd problem

    {$CLEO .cs} 0000: NOP repeat wait 0 until 0afa: 0B34: "ca" @cmd_66 while true wait 0 if and 0@ == true 0B4C: samp is_dialog_active -1 then 0B49: samp set_current_dialog_list_item 7 0B47: samp close_current_dialog_with_button 1 0@ = false end...
  48. [RP]Foolish

    CLEO Help solved

    {$CLEO} 0000: repeat wait 0 until 0afa: 0b34: "autoac" @autoac while true wait 0 if 30@ == true then if 0B61: samp is_local_player_spawned then for 0@ = 98 to 99 // last two lines 0AC8: 1@ = allocate_memory_size 260...
  49. [RP]Foolish

    CLEO Help Activating sobeit?

    http://ugbase.eu/index.php?threads/snippet-send-keypress.3479/
  50. [RP]Foolish

    CLEO Help cmd problem

    {$CLEO .cs} 0000: NOP repeat wait 0 until 0afa: 0B34: "ca" @cmd_66 while true wait 0 if and 0@ == true 0B4C: samp is_dialog_active -1 then 0B49: samp set_current_dialog_list_item 7 0B47: samp close_current_dialog_with_button 1 0@ = false end...
  51. [RP]Foolish

    CLEO Help sounds play

    while true wait 0 if call @is_cp_active 0 then //do stuff end end :is_cp_active 0AA2: 0@ = loadlib "samp.dll" 0A8E: 1@ = 0@ + 0x21A10C 0A8D: 1@ = readMem 1@ sz 4 vp 0 1@ += 0x24 0A8D: 1@ = readMem 1@ sz 4 vp 0 IF 1@ == TRUE THEN 0485...
  52. [RP]Foolish

    CLEO Help sounds play

    {$CLEO .cs} 0000: NOP repeat wait 0 until 0AFA: is_samp_structures_available repeat wait 0 until 056D: actor $PLAYER_ACTOR defined while true wait 0 if or key_down 89 key_down 88 then 0AAC: 30@ = load_audiostream "CLEO\music\s1.mp3" 0ABC...
  53. [RP]Foolish

    CLEO Help Checkpoint coords

    //RACE CP :is_racecp_active 0AA2: 0@ = loadlib "samp.dll" 0A8E: 1@ = 0@ + 0x21A10C 0A8D: 1@ = readMem 1@ sz 4 vp 0 1@ += 0x49 0A8D: 1@ = readMem 1@ sz 4 vp 0 IF 1@ == TRUE THEN 0485: return_true ELSE 059A: return_false END 0AA3: freelib 0@ 0AB2: ret 0 :get_racecp_pos 0AA2: 0@ = loadlib...
  54. [RP]Foolish

    CLEO Help SAMP.CmdRet() error

    Olá amigo brasileiro ^^ Tente substituir por isso: 0B43: samp cmd_ret
  55. [RP]Foolish

    Get Radar Blip Info

    +rep <3
  56. [RP]Foolish

    CLEO Help Get vehicle wheel coordinates

    wrong link =( Correcting: I need something like that
  57. [RP]Foolish

    CLEO Help Get vehicle wheel coordinates

    I need a snippet that takes the coordinates of an actor’s vehicle wheels (Or car parts) Reason: I'm trying to make a "wheel aimbot" I need something like that Samp version: 0.3.7 R1 Using sampfuncs Thanks in advance.. @Opcode.eXe
Top