I tried to change key for triggerbot from F10 to X but i get an error can someone compile the script for me please.
Default
{$CLEO .cs}
0000:
0661: NOP "Made by Opcode.eXe"
0661: NOP "www.youtube.com/OpcodeXe"
0661: NOP "www.ugbase.eu"
WHILE TRUE
WAIT 0
IF
0AB0: 88
THEN...
This one.
{$CLEO .cs}
0000:
wait 10000 /// wait 10sec until samp is redy
0AC8: 0@ = allocate_memory_size 260
0AD3: 0@ = format "/upgrade"
WHILE TRUE
WAIT 0
if
0AB0: key_pressed 75
then
0AB1: @SEND_CMD 1 text 0@
wait 1000 // 1000 ms = 1sec - timer to block key spam
End
END
:SAY...
Okay, thanks for the help I tried to add key _pressed but it doesn't seem to work. I know you said you don't have time can you just please tell me where do I need to move key pressed in which section.
{$CLEO .cs}
0000:
wait 10000 /// wait 10sec until samp is redy
0AC8: 0@ =...
It works but only when I enter the vehicle but when I am spawned in a vehicle the command doesn't get sent.
I am sorry I said in the original post I want when the player enters the vehicle command gets sent. but I forgot you can get spawned in-vehicle sometimes.
I am sorry but I don't know is there is a problem on my end but I get this error from the compiler.
Incorrect expression 3@ += SAMP_CHAT_INFO_OFFSET_03DL.
One of the variables has unknown type, or operands are incompatible.
I tried I get this when I try to compile
Incorrect expression 1@ += FUNC_SAY_03DL.
One of the variables has unknown type, or operands are incompatible.
I this but I get compiler error Unknown directive say "/upgrade"
{$CLEO .cs}
0000:
while true
wait 0
if
00DF: actor $PLAYER_ACTOR driving
then
wait 3000
say "/upgrade"
end
end
And I tried this and I get compiler error alloc 0@ 256.
{$CLEO}
0000: NOP
repeat
wait 50
until 0AFA...
I want to create if a player is in a vehicle do a chat command. In this case, I need every time the player enters a vehicle after like a 3-sec chat command /upgrade gets sent.
I found a code in this thread http://ugbase.eu/index.php?threads/snippet-write-in-chat-without-sfuncs-0af8-0af9.3814/
I...
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.