CLEO Help help me please

CLEO related

Ry4NN.

Member
Joined
Sep 26, 2020
Messages
21
Reaction score
1
Location
Romania
when i try to compile a file it gives me this error

it worked till now

code:

{$CLEO}

0662: "`"
thread "`"

repeat
wait 0
until SAMP.Available()
 

Attachments

  • 1633197820297.png
    1633197820297.png
    7 KB · Views: 18

ajom

Well-known member
Joined
Apr 14, 2020
Messages
389
Solutions
2
Reaction score
268
Location
Pluto
It seems like either of this is your issue:
  1. you have no SAMPFUNCS. Make sure to install the SAMPFUNCS SDK at Sanny Builder. Read this topic.
  2. you have Directive Incompatibility towards SAMPFUNCS caused by your Sanny Builder's Version. Since SAMPFUNCS is an old plugin, Make sure your SB version is below v3.5.1 . Because above versions have new syntax(like $USE <LIBRARY>) that is considered New Generation.

It can be fixed by using the opcodes counterpart of that directive:
PHP:
repeat
    wait 0
until 0AFA: is_samp_available // SAMP.Available()
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,116
Solutions
5
Reaction score
882
Location
Lithuania
If you still getting problems after all what ajom said.., just go to my discord and download already fully prepared sanny builder.
Good luck.

P.S. Make sure you have correct settings!!
 
Top