KillerZ link said:You can use something like the code below, you'll need SampFuncs. If you want something like keybinds, you might want to look at this:
https://ugbase.eu/tutorials/(tutorial)make-your-own-keybinder-!/
{$CLEO}
0000: NOP
repeat
wait 300
until 0AFA: is_samp_available
0B34: samp register_client_command "test1" to_label [member=23507]Label[/member]
while true
wait 0
end
:Label
0AF9: samp say_msg "I love UgBase"
0B43: samp cmd_ret
mrsaxobit link said:or you can for example edit this cleo and do what you want to. :yuno:
https://ugbase.eu/releases-6/another-pointless-cnr-cleo/msg89521/#msg89521