Thanks springfield, it works like a charm.
I'll leave the final version of the script here if anyone is interested. This simply loads/reloads any script you have on your cleo folder.
Syntax: /cleo <File Name>
{$CLEO}
0000: NOP
wait 100
0B34: samp register_client_command "cleo" to_label @LOAD...
So i am trying to improve this script because the original one cannot read mods if there are spaces in the name.
The problem is with the opcode 0AAB: file_exists "cleo.asi"
I need to check if the file i entered exists because if i enter an invalid file the game will crash, but i can't make...
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.