Script for simplification

Status
Not open for further replies.

hacker127

Active member
Joined
Jul 17, 2019
Messages
44
Reaction score
2
Please can't someone write me a script if I write "/WL" so it says "/ wanted" in the chat room. It's only a matter of shortening my order, but I want it to Cleo because Ahk's programs like this don't suit me. I just write "/WL" in the chat room and put enter, run the script and write "/wanted." That's how I would imagine it. I'd like someone to write me a full script, but even with the OP- code advice on how to write in a chat room, you could do without it. Thank you all for your efforts.
 
Last edited:

Parazitas

God
Joined
Jan 2, 2017
Messages
3,121
Solutions
5
Reaction score
882
Location
Lithuania
The point of this ..
You just wanna shorter command, yes?
Which samp version?
 

hacker127

Active member
Joined
Jul 17, 2019
Messages
44
Reaction score
2
The point of this .. just a shortcut
You just wanna shorter command, yes? YES
Which samp version? 0.3DL
 

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
294
Reaction score
99
Location
UGBASE
just use autohotkey its basic and its code is pretty short.
 

Lelz

Active member
Joined
Jan 5, 2015
Messages
76
Reaction score
1
Requires SAMPFUNCS obviously:

Code:
{$CLEO .cs}
0000: NOP
thread "wanted"

repeat
wait 0
until SAMP.Available()

0B34: samp register_client_command "/wl" to_label @wanted_1

while true
wait 0

:wanted_1
wait 0
say "/wanted"
SAMP.CmdRet()
 

Attachments

  • wanted.cs
    17.4 KB · Views: 1

hacker127

Active member
Joined
Jul 17, 2019
Messages
44
Reaction score
2
Requires SAMPFUNCS obviously:

Code:
{$CLEO .cs}
0000: NOP
thread "wanted"

repeat
wait 0
until SAMP.Available()

0B34: samp register_client_command "/wl" to_label @wanted_1

while true
wait 0

:wanted_1
wait 0
say "/wanted"
SAMP.CmdRet()
Yes, it requires SAMPFUNCS. The problem is that there are no SAMPFUNCS on 0.3DL. I need to write it down so the saampfuncs don't need it.
 

Lelz

Active member
Joined
Jan 5, 2015
Messages
76
Reaction score
1
Yes, it requires SAMPFUNCS. The problem is that there are no SAMPFUNCS on 0.3DL. I need to write it down so the saampfuncs don't need it.

Then you'll have to do some memory hacking if you want to do it in a CLEO.
 

hacker127

Active member
Joined
Jul 17, 2019
Messages
44
Reaction score
2
The problem that I do not know how to put it together, so I write here. If someone knows how to make the script work without SAMPFUNCS and you could write me instructions or edit the script I sent from Lelz.
 
Status
Not open for further replies.
Top