CLEO Help Command replace

CLEO related
Status
Not open for further replies.

Renglee

Member
Joined
Apr 3, 2020
Messages
14
Reaction score
2
Location
Romania
Hi, I have a problem with a cleo mode. This mode has to replace the command "/x" with the command "/y", I tried but still get crash and the mode doesn't work. Can anyone help me?
 

KamikazeSripterul

Well-known member
Joined
Jun 30, 2019
Messages
353
Reaction score
23
You literally have to change one thing.
0B34: samp register_client_command "x" to_label @cmd
0B34: samp register_client_command "y" to_label @cmd
Idk what could go wrong there. Eventually show us the original and the edited code.
 

KamikazeSripterul

Well-known member
Joined
Jun 30, 2019
Messages
353
Reaction score
23
You would simply.. make a code w that command...

0B34: "y" @command

:command
SAMP.IsCommandTyped20@)
say "/x"
SAMP.CmdRet()

Its like using other commands like.. /q or /car or whatever..
 

KamikazeSripterul

Well-known member
Joined
Jun 30, 2019
Messages
353
Reaction score
23
If u want to change a server command and ur the scripter of the server, you do this in pawn.. so u got the wrong forum. If u want to remove command /x registered on server, u cant do that, thats serversided. @_Safa solve this topic, it doesnt make any sense
 

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
297
Reaction score
103
Location
UGBASE
The solution was explained perfectly. Use your brain now to finish solving your problem. We can't do shit if you don't provide the code.
 
Status
Not open for further replies.
Top