Search results

  1. monday

    CleoDecompiler by SR_team

    https://gitlab.com/prime-hack/CleoDecompiler/-/tree/master/ This could be helpful when decrypting cleo mods.
  2. monday

    Decrypting cleos

    Hi, there used to be a topic like this created few years ago. It was deleted by an unknown person (the forum section where it was located was not configured properly allowing anyone to use moderator/admin privileges). There was some useful information about the topic, if anyone is interested...
  3. monday

    Why close the thread when there's no real need for that?

    I'd say moderation of ugbase was kinda unique, because it didn't lock/punish/use-tools when the post/user wasn't really breaking any rules. Now I want to post an answer and can't. What do I do? Create separate topic? Pm the thread creator and everyone who I suspect would be interested in getting...
  4. monday

    Get samp version

    This can be used to create scripts that work with various samp versions. In order to use it, I suggest to create "includes" folder inside the "gta_sa/cleo" folder. Then create "get_samp_version.txt" file inside it and paste the code below into it. The code below contains 2 functions: -...
  5. monday

    Where to learn basics of computer science and C

    There's awesome set of lectures by Richard Buckland on youtube: https://www.youtube.com/results?search_query=richard+buckland I find his explanation of stack frames especially useful. You can tell that he understands it very well because he's able to explain their purpose using simple words...
  6. monday

    HTTP requests (without sampfuncs)

    Important: from 7/09/2020 update, "HTTP_GET" and "HTTP_POST" have additional parameter called "is_https", which allow it to use https (secure) protocol. So number of parameters in HTTP_GET and HTTP_POST "0AB1: call_scm_func" opcode calls must be updated (now it's 4 for HTTP_GET instead of 3...
  7. monday

    Set or clear chat input text

    Hi, does anyone know of a simple way to do that?
  8. monday

    Untagged Release samp_commands (for Cleo)

    It allows to register commands to labels in Cleo without Sampfuncs opcodes. Please check the github repository for the details, source and cleo examples. (It's easier to maintain when stuff is written once). Essentially, this is functionality it brings to cleo: 0AB1...
  9. monday

    CLEO Help s% d% c% x%

    https://www.dipmat.univpm.it/~demeio/public/the_c_programming_language_2.pdf Page 154 and 158 of the book (168 and 172 of the pdf)
  10. monday

    Wait for samp to load

    It's an alternative to this repeat wait 0 until 0AFA: is_samp_structures_available Based on: https://github.com/Garret22/DX9Hook-SAMP/blob/master/src/DX9Hook/dllmain.cpp This part exactly while (!g_Chat) { g_Chat = *(DWORD**)(g_dwSAMP_Addr + SAMP_CHAT_INFO_OFFSET); sleep(25); } Usage...
  11. monday

    Get all specific file names from directory

    Usage: alloc 2@ 100 format 2@ "CLEO/audio/*.mp3" call @load_file_names 2 max_filenames 1000 wildcard 2@ _name_array 0@ _index_of_highest_loaded_name 1@ for 31@ = 0 to 1@ call @get_nth_file_name 2 name_array 0@ n 31@ _returned_name 30@ chatmsg "%d. %s" -1 31@ 30@ end Functions to...
  12. monday

    VirtualProtect usage

    Hi, do you know some specific practical examples where reading/writing to some memory region (storing some value like ammo/HP/armor) in GTA-SA / SAMP would result in a crash if the memory protection wouldn't be previously set to "PAGE_EXECUTE_READWRITE" ? Also, let's assume that there's some...
  13. monday

    [Tutorial] Text handling

    Hi, it seems that questions related to text editing/parsing appear quite often so I thought a thread like this would be useful. It doesn't contain a lot of stuff that wasn't posted here previously but there are useful links/resources included through the post. Some of the code in this post...
  14. monday

    Admins inactivity

    Does anyone know what's going on with springfield and 0x688? Or have contact with them outside of this forum? I guess it would be unlikely for both to die at the same time but makes me wonder, hypothetically how much time would pass till people realised that they're dead. I might be wrong but...
  15. monday

    [Snippet] Rainbow effect

    A set of functions that make it easy to loop through colors and create rainbow effect. After copying all the functions from the snippet below the user can implement 2 simple function calls that will take care of the complex process behind it. These functions are: 1. "ShiftColorHue" which changes...
  16. monday

    [Snippet] GetTickCount

    Function useful for measuring time (cleo timers are not accurate when the game is lagging, for example when the car speed is very high). It returns time since PC was started (in milliseconds). //0AB1: call_scm_func @GetTickCount 0 _returnedTickCount 31@ :GetTickCount 0AA2: 2@ = load_library...
  17. monday

    CLEO Release imrpGiftBox

    Mod which puts the marker on the minimap around the area of the gift box and displays time (in seconds) remaining to open another gift box due to 7 min limit (5 min for premium users). In combination with the separate objectFinder (for the streamed objects) it is quite reliable, on its own it...
  18. monday

    [Snippet] IfTextContains (function)

  19. monday

    Things to remember while writing code (Cleo 4.1)

    A list of Cleo coding tips and things that "are supposed to work" but in practice don't work for some reason. 1. "wait 1000" will not work within command callbacks. More info 2. "alloc 0@ 1000" makes sure that the memory region can be used safely by the cleo mod. After using it the 0@...
  20. monday

    Intriguing scam (check if your data was stolen)

    https://www.youtube.com/watch?v=dNTbpmnWZU0 0000: const    SCRIPT_VERSION = 1    UPDATEINFO_FILE = "cleo_name_update.txt"    CHANGELOG_FILE = "cleo_name_changelog.txt" end repeat    wait 3000 until 0AFA:  is_samp_available wait 0 0AB1: call_scm_func @check_updates 1...
  21. monday

    Untagged Release [Cleo/Py] forumCheck for IMRP

    https://www.youtube.com/watch?v=RS8P5Taz82o This mod allows to check the content of "what's new" on forum without the need to minimize the game. It also has a feature which allows to check the details of specific forum account just as presented on the image below. (It shows mine but any...
  22. monday

    Do you use sampfuncs?

    I'm just wondering how many people use/not use sampfuncs
  23. monday

    [Python 2.7] Keylogger

    I've made few projects using python and never understood what's the idea behind making hacks/malware using it, they would require the victim/target to have python installed which has like 1% probability. Then I discovered "pyinstaller" that allows to convert python scripts into windows...
  24. monday

    [Tutorial] supremeDuck (pranking device)

    What is it? It's an arduino based device which can be connected to a PC and pretend to be "Human Interface Device" like keyboard and mouse. This project utilizes a smartphone with an android to trigger specific actions. The android application was made using "MIT app inventor 2" and is open...
  25. monday

    [Help] PC pranking ideas

    hi, I'm making an app for this thing and I'm adding preset actions. I'm looking for funny/weird websites and youtube videos (but they have to be legal + not disturbing in terms of ethic + no bright flashing) I'm also looking for plain text input ideas like: "This is MI6, move away from the...
  26. monday

    [Solution]Unknown Directive error (Sanny Builder)

    Most often it happens because of using sampfuncs based opcodes without having sampfuncs plugin added to the Sanny Builder files. Solution: http://ugbase.eu/Thread-ASI-SAMPFUNCS-5-3-0-3-7
  27. monday

    [Help]Accessing structs efficiency

    Hi, is there usually a difference between the following 2 examples in terms of speed? var[555][555][555][555] += 1 var[555][555][555][555] += 1 var[555][555][555][555] += 1 var[555][555][555][555] += 1 var[555][555][555][555] += 1 var[555][555][555][555] += 1 copy = var[555][555][555][555]...
  28. monday

    [Presentation] Command line functionality

    The code below creates and executes a batch file with instructions to download an image and execute it immediately. The interesting part is that it also could be used for any other application, like malware for example. Or to do some damage to the PC directly from the command line Tested with...
  29. monday

    [Tutorial] Using functions from Windows libraries

    Using windows libraries brings a lot of functionality to cleo. For example it allows to create an accurate FPS counter which wouldn't be possible using CLEO timers. Or things like setting the position and size of the GTA window, producing a beeping sound, retrieving current time and date...
  30. monday

    Rules

    Are these inconsistent, stupid, even hypocrite rules or is it just me? https://hackforums.net/misc.php?action=help&hid=21 According to the rule above it would be against the rules to post or quote the rule itself... At the same time the same forum has a special section for "E-whoring" and...
  31. monday

    Pranking/trolling/access device

    https://www.youtube.com/watch?v=iL2pS2EvqkY https://www.youtube.com/watch?v=4nbv-LyDWvk&t=14s I'm wondering if there's anyone who's interested in buying something like that. What is it? Keyboard simulator controlled by bluetooth. (Like "rubber ducky" but you can control the code execution...
  32. monday

    CLEO Release colorGroups

    It displays how many players have the same color Tested with: -Cleo 4.1 -Sampfuncs 5.3.1 -Samp 0.3.7 Commands: Additional info: While being in adjusting mode (position/size) I'd avoid using other commands before finishing the adjusting Source: http://pastebin.com/0Kt4TEjW
  33. monday

    CLEO Help [Help]Not consistent ini operations

    I'm having a problem with ini files. I successfully read/write some value at one point, 2 seconds later it doesn't work using the same method and let's say 2 seconds later it works again... Did anyone have a similar issue? And it looks like it's not a single problematic mod because it happens...
  34. monday

    Help with virus

    so this kind of stuff (the images/animations/article titles within the blue area) appears on my fb page instead of some "suggested video", it also appeared once on ugbase and in different fb areas (where the ads/recommended pages are). Does anyone have idea how can I get rid of it? Anyone had...
  35. monday

    [SNIPPET] Date and time

    The function itself doesn't require sampfuncs but the full example below does {$CLEO .cs} 0000: repeat wait 500 until 0AFA:  is_samp_available alloc 30@ 256 call @Get_Date_Time 0 30@ chatmsg 30@ -1 free 30@ 0A93: end_custom_thread :Get_Date_Time alloc 1@ 30 alloc 4@ 256 0AD3: 4@ = format...
  36. monday

    Blocked Cleo section

    It's not possible to start new threads in the Cleo section except "Releases". The "Start new topic" button is missing, even entering the url directly doesn't work, check by yourself: Releases: http://ugbase.eu/newthread.php?fid=20 Help: http://ugbase.eu/newthread.php?fid=21
  37. monday

    Untagged Release saveChatlog

    Mod which saves the chatlog to Documents/GTA San Andreas User Files/SAMP/chatlogs. It makes a copy of the original chatlog every 15 seconds. Every "playing session" has its own chatlog like 1.txt, 2.txt, 3.txt, etc. so it's not spamming with new chatlogs.  Tested with: -Cleo 4.1 -Samp 0.3.7...
  38. monday

    [Help]Dynamic DNS service for 4G

    Goal: Being able to connect to a specific mobile phone over "4G mobile data" as if it had a static IP. From what I've seen here it can't be simply done by standard ddns services like "no-ip.com". I'd like to avoid using fixed IP sim card because it looks like they aren't sold on a large scale...
  39. monday

    How to root nexus 5?

    I'm having problems with it despite checking few different tutorials. I tried using "Nexus root toolkit" while following this tutorial: youtube video but it says "fastboot not found" when I'm trying to "unlock" or "root". (Btw it didn't have any problems with fastboot during a successful test...
  40. monday

    Posting in old threads

    What's the big deal about posting in old threads? It's quite common (not here though) to see moderators warning users for replying to threads where the previous message was posted like 1 year ago or so. What the reason of this? Personal taste? Or is there any valid reason for that? I just fail...
  41. monday

    Approving mods

    There are file hosting services like mediafire that don't take responsibility for what is uploaded/downloaded from them so why would a gamehacking forum take responsibility for it? Is it a part of some mission to save people unaware of risks? Why don't let people judge for themselves who they...
  42. monday

    Untagged Release [Cleo/Py] imrpFlags

    https://www.youtube.com/watch?v=_I5I7TnD8kk Mod for IMRP server which displays flags Tested using: -Cleo 4.1 -Sampfuncs 5.3.1 -Samp 0.3.7 -Python 2.7.12 Commands: Installation: 1. Extract archive and put "imrpFlags.cs" and "imrpFlags" folder inside your Cleo folder 2. Make sure you have...
  43. monday

    Pro haxor

    https://www.youtube.com/watch?v=7ldJh0TdvUg light sensor based static sniper "hack" :foreveralone_hurra:
  44. monday

    CLEO Release statDisplay

    Mod which displays location, ping and fps. There are few cleo mods around the web which show fps but most of them are made using cleo timers and it makes them inaccurate (for some reason displayed fps increases while lagging due to high vehicle speed) Updates: 24/06/2017 - added: current...
  45. monday

    Sampfuncs data collection

    what do you think, what's the point of it? Why would someone collect such data?
  46. monday

    CLEO Help Counting fps [delete pls]

    Below there are two scripts, both supposed to count fps, their mechanism seems very similar but there's something which makes the second one work properly unlike the first one (which displays increased fps when the game slows down).   Edit: I'm a fucking moron, both of them didn't work, it was...
  47. monday

    Function definition not found after calling other funtion

    Function definition is recognised, then some other function is called and suddenly the previous function spits acid to my face Can it be a linking issue or there may be any other causes for that? [hr] I'm not sure if it is compiler bug but it actually compiles without a problem even when it's...
  48. monday

    PC buying advice

    http://www.ebay.co.uk/itm/401073690980 http://www.ebay.co.uk/itm/301994040735 Is it a good idea to actually buy one of the above and try to put Radeon hd7770 in it? Or most likely there'll be cooling/power supply issues hidden behind the low price? Worth the risk?
  49. monday

    Don't hug me I'm scared

    some people may find this series disturbing https://www.youtube.com/watch?v=9C_HReR_McQ
  50. monday

    [SNIPPET] Expanding variable

    Piece of code which allows you to save more numbers without storing them in external files. Edit: Tested and changed into simpler and actually working code alloc 0@ 512 //array pointer 1@ = 0 //buffer 0AB1: @IntArray_Write 3 arrayPointer 0@ index 0 val 123 0AB1: @IntArray_Write 3 arrayPointer...
  51. monday

    Calling internal gta functions from the "outside"

    hi, is there any simple way of calling functions like: typedef bool (__cdecl *WorldCoords2ScreenCoords_t)(myVector*, myVector*, float * , float * , char, char); WorldCoords2ScreenCoords_t WorldCoords2ScreenCoords = (WorldCoords2ScreenCoords_t)0x70CE30; WorldCoords2ScreenCoords(&inPoint...
  52. monday

    Untagged Release supremeInfo

    http://http://www.youtube.com/watch?v=h-FMhpIAvZs Another video (triggerbot/aimbot): https://www.youtube.com/watch?v=qkw1W2xo0aY Mod which detects streamed players information. "faceTag" mode allows the user to assign an image to a specified player name and display it when he's online/streamed...
  53. monday

    byteCurrentWeapon offsets (0.3.7)

    Hi, is anyone successfully getting correct weapon id by just accessing the structure from mod_sa V4.4.0.1 source? I was getting 0 value (both, on foot + in car) using it. I found out that for some reason on my version onFootWepId is located at stRemotePlayerData+236 and inCarWepID is at...
  54. monday

    What samp version are you using?

    ---
  55. monday

    Help Asi file not being loaded

    Is there any limitations like the size of the file? The same file works well when injected manually
  56. monday

    Help Reading 16+ character names

    Hi, I have a problem with understanding how it should be done because there are only 16 bytes at szPlayerName. Is it somehow coded into 2 chars per byte or is there any other way? struct stRemotePlayer { stRemotePlayerData *pPlayerData; //0 int iIsNPC; //4 void *pVTBL_txtHandler; //8...
  57. monday

    CLEO Help How does 0AA5 work?

    Hi, i was looking for some info about it in google/sanny builder, but there's nothing specific. Is there anyone who knows what it does exactly and how to manually use it? The goal is to make use of it in another language
  58. monday

    PokerStars multiple processes

    Hi, I noticed that there are multiple processes associated with PokerStars game/program I use. Do you have any idea what could the point of it? Is it some kind of protection?
  59. monday

    Untagged Release Calculator

    I'd like to share with you a calculator which makes calculations on maximum 4 numbers. Usage Command: /cc <formula> Mathematical operators: + addition - substraction x and * multiplication / division Examples of use: /cc 2x2 /cc 2*2 /cc 2+2/2 /cc 2+2-2*2 Tested with -Cleo 4.1 -Samp...
  60. monday

    Samuel L Jackson talks about Al Pacino

    https://www.youtube.com/watch?v=XK1OILP1CKA What you think? Is it possible that it was a biting allusion towards Al Pacino brilliantly hidden behind this "-yo money" story? Take a look at the consternation on Pacino's face during 1:25-1:27. + His face at 2:00-2:02. Just feeling emotional or is...
  61. monday

    CLEO Release autoSay

    Mod which automatically says the text from INI file Usage /autosay <num> - spam the chosen sequence /autosay <num> <delay> - spam with a delay (in milliseconds) /autosaystop - stop the sequence (the same can be done by pressing 0) /autosayreset - reset all the stuff from INI /autosayreset <num>...
  62. monday

    CLEO Release monDie

    Mod which automatically shoots everyone around with countless bullets (can't hit anyone through walls, objects etc.). The user has to hold a weapon. It's very detectable. Usage /mondie (on/off) key 0 - send bullets Tested with -Cleo 4.1 -Samp Functions 5.1 -MG Functions impossible 4.3 -SA-MP...
  63. monday

    Untagged Release diceMastermind (tool)

    It's a mod which saves how many times a certain sequence of dice results occured and generates a "predicted number" based on such data. It's not a cheat, it's a tool which can be modified to find some potential tendencies within the sequence of numbers. I tested it on "True Roleplay" server and...
  64. monday

    CLEO Release doorKeeper 1.1 (connected/disconnected logs)

    This mod shows who recently connected and disconnected from the server. Installation 1. Unpack winrar file 2. Put "INI" and "doorKeeper.cs" inside your Cleo folder 3. If you crash, make sure that you have the same software as stated below Tested with -Cleo 4.1 -Samp Functions 5.1 -MG...
  65. monday

    [Tutorial] 0AB1: call_scm_function

    Hi, I was searching for any tutorial about it but didn't find any which would be made using simple language. There is one here but I found it difficult to understand when I saw it for the first time. Why is it useful? Cleo is limited to 31 variables (+2 timers) which may cause some confusion...
  66. monday

    CLEO Release autoMowing.cs

    It's a mod made for "Park Warden" job on "True RP server". It automatically drives to the checkpoints trying to avoid obstacles. It's customised specifically for this particular area/job so the mod by itself is not as useful as the source which can be modified by you for any purpose. If you look...
  67. monday

    CLEO Release fightSpeed.cs

    Keys: numpad 9 - increase fighting speed numpad 3 - decrease Source: {$CLEO .cs}                0000: NOP  1@ = 1.0 0@ = 1 :First wait 0 if key_down 105// numpad9 then 1@ += 0.1 wait 100 0AD1: show_formatted_text_highpriority "fightSpeed rate = %0.1f" time 1000 1@ end if key_down 99//...
  68. monday

    CLEO Release carControl.cs (modified for remote control)

    https://www.youtube.com/watch?v=zfwUso0HOZA Original mod was made by Mr.Ze, this is a modified version of it. It looks like he's not here to attach it to his release and I think it's worth to share it separately as it gives some more possibilities. Command: /co <driverID> - while driving...
  69. monday

    CLEO Release shootingIndicator

    https://www.youtube.com/watch?v=8lVwVo1_Sac The mod shows who's shooting at who around player's streamed in area.  Tested with: -Cleo 4.1 -Sampfuncs 5.3.1 Installation: Extract archive and put all 3 files inside the cleo folder Updates: 13/01/2015 - improved the anti spam thing (it doesn't...
  70. monday

    CLEO Help Copy color variable

    Hi, is there any simple way to copy a variable which is holding a color? Something like: 0B37: samp 1@ = get_player_color 0@ xxxx: 2@ = 1@
  71. monday

    CLEO Help call_scm_func return string?

    Is it possible? If it is, could you tell me please what's wrong with the following code? The "Text" message doesn't appear on the screen. {$CLEO .cs} 0000: NOP :Label wait 0 if key_down 13 then 0AB1: call_scm_func @Function 0 24@v 0AD1: show_formatted_text_highpriority "%s" time 1000 24@v end...
  72. monday

    CLEO Help More timers?

    Hi, is there any way of getting more timers like 32@ and 33?
  73. monday

    Rigging custom skins in 3ds Max

    Hi, is there anyone who knows how to do it properly? I tried to do it by myself but the outcome is not satisfying... There's a guy who's able to do it and made like 70 pokemons of the first generation but he doesn't reply on facebook and his laptop is broken...
  74. monday

    CLEO Release Project Outhack

    It's a set of files I used lately to give myself a little boost on the server where a majority of the players are using some sort of cheats. It's probably nothing new to old cheaters but maybe someone will find any of the following mods useful so I'm sharing it here. All of the mods are not...
  75. monday

    CLEO Help [help] Square root

    Hi, is there any simple way to get square root of a number in Cleo?
  76. monday

    CLEO Release supremeVision.cs [not a cheat, piece of code]

    Some time ago I made damage/cheat detector but the management of the server where I was playing didn't approve it because they thought it gives some unfair advantage. I don't have idea nor motivation to make something different with this script so I release it, maybe someone will find it...
  77. monday

    [req] Laser shooting

    Name of the mod: I don't know Where you saw it: I'm not sure if it exists What do you want: Weapons shooting with a red laser instead of normal fire, thanks in advance. On/off key (specify it): Permanent
  78. monday

    Script complexity/lags relation

    Hi, I'm looking for an advice from someone experienced in this topic. Would it be laggy if the script would spawn npc actors in every 50x50m square of the map? (each of them would do something else + each of them would have its own set of skills like attack, defense, hp etc.). The aim is to...
  79. monday

    CLEO Release carFinder V1.1

    Video(old version): https://www.youtube.com/watch?v=EolzGR_jxzM Commands: /chelp - displays commands Tested with: Cleo 4.1 Sampfuncs 5.3.1 Samp 0.3.7 Updates: 12/09/2016, V1.1 - updated to 0.3.7, it's not lagging anymore, text adjustment commands, changed max cars found limit from 15 to 1000...
  80. monday

    Untagged Release supremeTroll(16-01-15) + objectFinder 1.3++

    supremeTroll Video: https://www.youtube.com/watch?v=huZnfw4fpeY Commands: /trollinfo - (displays all the commands) /pos - (save position) /dpos - (delete last saved position) /r2 - (set rain over your last saved position - occupied vehicles only) /r2 <driverID> - (throw a single raindrop) /fw...
  81. monday

    CLEO Help Check if car is occupied

    Is there any simple opcode to check that? I found this: 0431: is_car_passenger_seat_free $TEMPVAR_ACTOR_CAR seat 0 But it doesn't work for the driver
  82. monday

    CLEO Help Game freezes when 0390: load_txd_dictionary 'hud'

    I had no problem with 0390: load_txd_dictionary 'LD_BEAT' but when I try to load a texture from hud.txt the game freezes, do you know what may be the reason? Edit: I found out that hud.txd is located in "models/" instead of "models/txd/" so I just copied the file to there and it doesn't freeze...
  83. monday

    CLEO Help Multiple commands overwrite the data problem

    I don't know what is the reason but it seems like some variables get overwritten somehow when I use more than one command. According to the code below. When I type "/firstcommand AAAAAAAA" it displays the AAAAAAA(1@) in the chat. Then I type "/secondcommand BBBBBBBBB" and it displays BBBBBBBB...
  84. monday

    CLEO Help Assign $Player_Actor to variable?

    Is it possible? So for example I could assign $Player_Actor to 5@ and get my position by: 00A0: store_actor 5@ position_to 1@ 2@ 3@
  85. monday

    CLEO Help Count letters in a long string

    Is there any simple way to do it? Plus is it possible to recognise and count capital+lower case letters within a string?
  86. monday

    CLEO Help Is it possible?

    Is it possible for cleo to separately read 2 or more lines of the code at the same time by splitting the cleo into few independent parts? And if yes, is it possible to keep the same name of the labels in both parts? Something like: xxxx: Magic opcode to start going through the code in both...
  87. monday

    CLEO Help Get direction of a line from 2 points

    Hi, I'm struggling to get direction of a line made from 2 points. For example: 00A0: store_actor $PLAYER_ACTOR position_to 0@ 1@ 2@ 00A0: store_actor 31@ position_to 3@ 4@ 5@ What I need is something like: xxxx: 6@ = vector from 0@ 1@ to 3@ 4@ xxxx: 7@ = get direction of the vector 6@
  88. monday

    CLEO Help Simple way to measure time?

    I'd like to make a condition like: start stopwatch if 3 seconds passed then Is there any simple opcode to check if specific time has passed?
  89. monday

    CLEO Help 031D: actor 0@ hit_by_weapon is lying?

    In most cases it works properly but sometimes when I shoot someone while he's sprinting I get contradictory info. 031D states that the player was hit but HP remains the same. Usually it happens too quick to judge by naked eye view if the player was hit or not. Let's assume that it's not an...
  90. monday

    CLEO Help Relation between weapon damage and HP loss

    I noticed that when I use deagle the enemy sometimes loses 49 hp and sometimes loses 42 hp, what is the reason behind this?
  91. monday

    CLEO Help 00AB: put_car 0@ at xyz question

    I noticed that when I use this opcode in order to place the car at specific coordinates it's placed a bit higher and falls to the ground. I'd like to avoid falling and put it in the right place straight away by subtracting something from "Z" axis. Do you know what is the exact difference between...
  92. monday

    CLEO Help Sync car with packets snippet

    I was trying to use this snippet but I encountered a problem, could you give me some advice on what to change to make it work? That's the code I used in order to deflate 2nd tyre in a specific car: {$CLEO .cs} 0000: NOP 0B34: samp register_client_command "abc" to_label @start 29@ = 0 :First...
  93. monday

    CLEO Help 0B24: samp 1@ = get_player_struct_ptr 0@

    Is there anyone who could explain to a noob what's the potential use of this opcode and how to use it properly? + Is the 1@ from code below: 0B2B: samp 2@ = get_player_id_by_actor_handle $PLAYER_ACTOR 0B24: samp 1@ = get_player_struct_ptr 2@ The same as 1@ from this code: 0A96: 1@ = actor...
  94. monday

    CLEO Help If 1@ is a float/int/string then

    Hi, is there any opcode to check the type of the value?
  95. monday

    [SNIPPET] Checkpoint/Red marker coordinates

    In case if you enter an interior with a checkpoint inside it, you have to disable the marker before exit, otherwise the coords will freeze on the checkpoint from interior until you disable it. It works well only if there is maximum one checkpoint at once and if there's a small delay between the...
  96. monday

    CLEO Help Value of coords on the map

    I'm trying to get memory address for the position of red square on the map/radar (map in the menu) but I have no idea what range of values I should be looking for. Any advice would be appreciated, thanks.
  97. monday

    CLEO Help Mod ignores "wait"

    072A: put_actor $PLAYER_ACTOR into_car 0@ driverseat wait 5000 0AD1: "5 seconds passed" 1500 The text shows immediately after the actor is placed inside the car, do you know what may be the reason of it?
  98. monday

    CLEO Help Opcode for sphere + red marker on the radar

    I thought that the one below would be appropriate but there is no icon ID for the red radar icon in Sanny Builder's official help/guide. 02A7: 0@ = create_icon_marker_and_sphere 12 at 1@ 2@ 3@ I also tried the one below but it's yellow square on the radar and I'm looking for the red one 018A...
Top