Search results

  1. Mennims

    CLEO Help Remove object collisions

    How could I temporarily remove the collisions of an object in GTA? For example, removing collisions for specific buildings and walls. What function would I use?
  2. Mennims

    CLEO Help 0AB5 not working. Alternative?

    0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@ That code does not seem to work.  When outputting the variable 1@ into an integer it returns "D". Are there any alternatives for getting the nearest actor?
  3. Mennims

    CLEO Help Buggy while loop? See if you can solve this

    So I've been stuck on this script for the last 4 fucking days. It's a personal script so I won't share it, but I replicated one of my problems I had so you guys can explain to me what the fuck is wrong with it. In this demo script it basically tests if the person is in a car, if you are not in...
  4. Mennims

    CLEO Help Modify samp packets?

    I have some questions on how server sided samp functions would work. In this case, I have my eye on what function I suppose this server uses to hide name tags. ShowPlayerNameTagForPlayer(forplayerid, playerid, 0) Is it possible to modify packets or use a sampfunc opcode to disable this...
  5. Mennims

    CLEO Help Samp detect new message in chat?

    I want a script segment to only run when a new message is added to chat, anyone got ideas? I have tried using samp.getchatstring to get two instances of the chat. So one would get chat id 99 then the other id 98 and test until they match, meaning the chat wouldve moved up. But it crashes. Why...
  6. Mennims

    CLEO Help String variable size limits

    I have a script that writes a new ini key every 10 milliseconds. The keys are ordered in the ini file, from 1, to whenever the person chooses. Problem is, I can only reach 1000 in the ini file. 0AD3: 0@v = format "%d" 1@ //1@ is the counter, this turns it into a string so I can plug it into...
  7. Mennims

    CLEO Help Getting vehicle tilt

    I've managed to get a cars coords, the X Y Z and Angle of the car, but I can't seem to find it's tilt axis? What do I do
  8. Mennims

    CLEO Help Writing data in plain text to a file

    I want to write data to a file I have, a stats file. And every time I write to the file I want it to be on a new line. How can I do this? It'd be nice to use the object orientated part of Cleo like File.Open, and File.Write, but I can't find any documentation for these. Where can I find it?
  9. Mennims

    CLEO Help File.Write writes in binary?

    Me again (man I feel like I'm spamming the forums  :urtheman:) but I'm trying to write some data using File.Write, but when I try open up the file it seems to be in binary or compiled format. Why can I not write it in plain text? Or how can I read the written file to see the results? Because I...
  10. Mennims

    CLEO Help What is car struct?

    What does this do? 0A97: $CarStruct = car $MyCar struct
  11. Mennims

    CLEO Help Reading chat

    Hi. Hi need to read the chat, I would like to constantly check for a certain string to appear in the chat. Like "hello" for example. So if someone says "hello" it triggers something, I know how to do the loop and all. I just would like help with this 0B75: samp get_chat_string 1@ text_to 2@...
  12. Mennims

    CLEO Help How to show variable as text

    Hi, I want to display a variable in text, now I'm still new to cleo, and the text confuses me with all the GTX's and stuff like that. For now I want to show a integer as a variable, I saw this 0AD1: show_formatted_text_highpriority "This is %.4X opcode" time 2000 0x0AD1 Now I do not understand...
Top