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.
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 {
...
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@ =...
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}
//...
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.
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...
[...]
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 //...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.