CLEO Help Trying to create a auto /fish script for a server

CLEO related
Status
Not open for further replies.

codebreaker23

Member
Joined
Jul 26, 2013
Messages
18
Reaction score
0
So hello im a idoit when it comes to cleo but after so many years i figure i should atleast try.. right?

Anyways im trying to figure out how to send a command  "/fish"  to the chat without SF on version 0.3.DL-R1

I was wondering if anyone here knew the new func_sendcmd for 0.3.DL-R1?

Thanks.
 

noob213

Active member
Joined
Sep 15, 2017
Messages
88
Reaction score
6
// 0AC6: 0@ = label @text offset
// 0AB1: call_scm_func @SENDCMD 1 0@



:SENDCMD
if 0AA2: 1@ = "samp.dll" // send cmd 0.3 DL
then
    1@ += 0x69340
    0AA5: call 1@ num_param 1 pop 0 0@
end
ret 0

:text
hex
"/mycmd" 0
end
 
Status
Not open for further replies.
Top