CLEO Help error with samp.available please help

CLEO related
Status
Not open for further replies.

downloadstuff

Active member
Joined
Apr 4, 2015
Messages
82
Reaction score
0
hey.. idk where my other post went or if it got deleted or idk...

im having a problem when i compile my script (which is the same i downloaded, i just recompiled it)

i get an error saying "unknown directory samp.available()"

I have the latest sampfuncs installed on my sanny builder.. i just opened a working .cs and recompiled it and i get this error..

how do i fix it? thanks

p.s:im learning to code cleo.
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
hi, I don't know how exactly you installed sampfuncs but here's how I did it:
-put all the files from "SB data" folder into "Sanny builder directory->data->sa"
-put sampfuncs.asi into gta directory
 

downloadstuff

Active member
Joined
Apr 4, 2015
Messages
82
Reaction score
0
i did that installed the sampfuncs opcodes.txt and other files to the sanny builder sa folder.. i just downloaded PrivateDesync.cs and recompiled and got errors (the .cs works perfectly)

:/ thankyou in the future
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
hmm i don't know what's the problem, but did you try using "0AFA:  is_samp_available" instead?
 

downloadstuff

Active member
Joined
Apr 4, 2015
Messages
82
Reaction score
0
monday link said:
hmm i don't know what's the problem, but did you try using "0AFA:  is_samp_available" instead?

it didnt give me error :p

but now i get an error on another opcode "unknown opcode 0BE4"
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
well... I thought that by saying "i get an error" you meant that you get an error but I was mistaken ;p
 

downloadstuff

Active member
Joined
Apr 4, 2015
Messages
82
Reaction score
0
monday link said:
well... I thought that by saying "i get an error" you meant that you get an error but I was mistaken ;p


what do i do to fix it then? :(

edit:  nvm today i restarted my computer and tried to compile it and it worked.. wtf xD
 
Status
Not open for further replies.
Top