It seems like you:
- Don't have a slightest clue how to code a cleo script.
- Decompiled a cleo script.
- Tried to add/remove/change something inside its code.
- Asked us here at the ugbase community regarding a series of errors you're code is facing without posting the full code here.
You're making it harder for everybody(even for yourself).
So always try:
1. Learning how to Code a Cleo script, learn the basics first before asking. Because its hard to help someone who doesn't know how to code. Here are the basic tutorials I've read when I was a beginner.
2. Telling us the objective of your script(what does it suppose to do).
3. Posting the full cleo code here, its easier that way for readers to see the problem.
You must be using the SAMPFUNCS SDK that was released by FYP way back 2014(which is old and is starting to get incompatible with the latest SB versions). To fix that Error, download and use the
maintained(unofficial) SAMPFUNCS SDK for the Latest Version of Sanny Builder.
Alternatively, the error simply says that you should
use that function's Opcode Counterpart instead. So this line:
PHP:
SAMP.CmdRet // a function from the SAMPFUNCS Class
Should be replaced/changed into this line instead:
PHP:
0B43: samp cmd_ret // opcode counterpart of SAMP.CmdRet
To put it simple, these two lines do the same thing in your script.