Search results

  1. P

    [SA] Memory address of the last chat message?

    Got it. Thanks guys, it works. Here's the code: int obtenerMensajeChat(HANDLE *procesoGTA, DWORD *direccionBase, int entrada, char *destino) {     if(*procesoGTA == NULL || *direccionBase == DIR_NULA || direccionBase == NULL)         return 0; DWORD dir;     int resultado =...
  2. P

    [SA] Memory address of the last chat message?

    Hello. I can't get the offset from the samp chatinfo address containing the last chat message. Does anyone know what the offset is? I need to retrieve the last chat message and if possible any chat entry from the chat box.
  3. P

    [C++] Stuck on calling a function from samp.dll

    Alright. So now I have this: bool addChatMessage(HANDLE *gtaProc, DWORD *sampBaseAddress, char *msg) {     if(*gtaProc == NULL || *sampBaseAddress == DIR_NULA || sampBaseAddress == NULL)         return 0;     int chatinfo = (int)*sampBaseAddress + FUNC_SAMP_ADDCHATMSG;     int func =...
  4. P

    [C++] Stuck on calling a function from samp.dll

    Hello. I'm making a tool for SAMP and now I needed to make a function to write something to the chat. This is what I have so far, but it won't work and I don't know what's wrong. I dont fully understand how to call the function and pass the message to write to it. [...] struct DataToSend {  ...
  5. P

    CLEO Help Help, this crashes my game

    I was trying to make a cleo mod to prevent de connecting delay from samp but it fulls my chatbox with warning messages and I don't know why. This is the code. {$VERSION 3.1.0027} {$CLEO .cs} 0000: NOP 0001: wait 3000 ms 0AA2: 30@ = load_library "kernel32.dll" // IF and SET 0AA4: 31@ =...
  6. P

    CLEO Help Mark a ped or car in minimap

    I want to mark all the cop cars around me with a blue dot if there is driver inside, how do I do this? Thanks in advance.
  7. P

    CLEO Help Samp Car Numberplate Help

    How can I get a string which stores a car's current numberplate? I'm making a mod for LSPD and I need this. I already have this but it doesn't work. /* ////////////////////// // Unidad.cs // // Autor: Diego Ramone // ////////////////////// */ {$VERSION 3.1.0027} {$CLEO .cs} //...
  8. P

    CLEO Help Car Plate

    How could I get a car's plate and store it in a string in CLEO? Thanks in advance.
  9. P

    CLEO Help [Question] About the siren

    How would I do that?
  10. P

    CLEO Help [Question] About the siren

    Would it be possible to turn on the siren LIGHTS (the siren bar lights) on without making any sound? Like when you exit the police car, the lights will still work but they don't make any sound.
  11. P

    CLEO Help [Script] Getting a car's name

    Done, thanks anyways.
  12. P

    CLEO Help [Script] Getting a car's name

    I want to get the name of the car in front of me, I have this: [...] if and Player.Defined($PLAYER_CHAR) Actor.Driving($PLAYER_ACTOR) then 0811: 3@ = actor $PLAYER_ACTOR car // Vehiculo actual... 0407: store_coords_to 4@ 5@ 6@ from_car 3@ with_offset 1.5 20.0 0.0 0407...
  13. P

    CLEO Help [Script] Getting a car's name

    I have this. if and Player.Defined($PLAYER_CHAR) Actor.Driving($PLAYER_ACTOR) then 0811: 3@ = actor $PLAYER_ACTOR car_nosave 0407: store_coords_to 4@ 5@ 6@ from_car 3@ with_offset 1.5 20.0 0.0 0407: store_coords_to 7@ 8@ 9@ from_car 3@ with_offset -1.5 0.0 0.0 053E: 10@ =...
  14. P

    CLEO Help [Script] Getting a car's name

    Well, I have this script. 0407: store_coords_to 3@ 4@ 5@ from_car 0@ with_offset 1.5 20.0 0.0 0407: store_coords_to 6@ 7@ 8@ from_car 0@ with_offset -1.5 0.0 0.0 053E: 9@ = get_random_car_with_model -1 in_rectangle_cornerA 3@ 4@ cornerB 6@ 7@ I want to get 9@'s car name, like Admiral, Clover...
  15. P

    CLEO Help [Script] Get facing position

    [...] if and Player.Defined($PLAYER_CHAR) Actor.Driving($PLAYER_ACTOR) then 03C0: 4@ = actor $PLAYER_ACTOR car 0407: store_coords_to 1@ 2@ 3@ from_car 4@ with_offset 0.0 1.0 0.0 // Left/Right, Forward/Back, UP/DOWN end if and 0A9A: $HFILE2 = openfile "pos1.TXT" mode 119 //...
  16. P

    CLEO Help [Script] Get facing position

    How would I get the position a player or a car is facing? Like Norht, South, West or East. Thanks in advance.
  17. P

    Untagged Release [0.3Z,0.3X R1 and R1-2] Fast Connect

    Re: [0.3X R1] Fast Connect Can someone port this to 0.3x? Does this also remove the delay when the server is full and you try to connect every time?
Top