CLEO Help Can someone help me?!?!?

CLEO related
Status
Not open for further replies.

f0rgiven1312

Member
Joined
Jan 30, 2022
Messages
16
Reaction score
4
Location
Serbia
How i can solve this error

Unknown directive printf "~Y~Paketic ~W~Je ~W~U ~Y~Blizini" 21@.

Here is the picture of the code
can someone help me please
 

Attachments

  • 1644076774636.png
    1644076774636.png
    2.3 KB · Views: 33
  • 1644076783071.png
    1644076783071.png
    8.6 KB · Views: 35

ajom

Well-known member
Joined
Apr 14, 2020
Messages
389
Solutions
2
Reaction score
268
Location
Pluto
How i can solve this error

Unknown directive printf "~Y~Paketic ~W~Je ~W~U ~Y~Blizini" 21@.

Here is the picture of the code
can someone help me please

It seems like you:
  1. Don't have a slightest clue how to code a cleo script.
  2. Decompiled a cleo script.
  3. Tried to add/remove/change something inside its code.
  4. 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.​




ya i have tried, it just bring me this error and i have added {$USE bitwise} on top of the script as well
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.
 
Last edited:

f0rgiven1312

Member
Joined
Jan 30, 2022
Messages
16
Reaction score
4
Location
Serbia
It seems like you:
  1. Don't have a slightest clue how to code a cleo script.
  2. Decompiled a cleo script.
  3. Tried to add/remove/change something inside its code.
  4. 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.
this cleo script is suppose to locate objects (19054 19055 19056 19057 19058), and just this error where it have to show "Paketic je u blizini" its making me a problem...
 
Status
Not open for further replies.
Top