CLEO Help cant get this cleo to work{someone help please :(}

CLEO related
Status
Not open for further replies.

dildotroll

Active member
Joined
Mar 23, 2013
Messages
142
Reaction score
0
so i tried making this cleo that will give me a combat shotgun with 300 ammo when i press j and * but i couldnt get it to work
this is what i tried doing using some topics i found here but couldnt get it to work

// This file was decompiled using sascm.ini published by GTAG ( http://gtag.gtagaming.com/opcode-database ) on 14.6.2013

{$VERSION 3.1.1000}
{$CLEO .cs}

//-------------MAIN---------------
thread 'GIVE_WEAPON'
jump @GIVE_WEAPON_26

:GIVE_WEAPON_26
wait 0
if and
0AB0: key_pressed 74
0AB0: key_pressed 106
jf @blubb
else_jump @GIVE_WEAPON_26
jump @GIVE_WEAPON_52

:GIVE_WEAPON_52
wait 0
Model.Load(#351)
if
Model.Available(#351)
else_jump @GIVE_WEAPON_52
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR, 27, 300)
wait 100
jump @GIVE_WEAPON_26


this is what cApSL0ckb0mb3r gave me

// This file was decompiled using sascm.ini published by GTAG ( http://gtag.gtagaming.com/opcode-database ) on 14.6.2013

{$VERSION 3.1.1000}
{$CLEO .cs}

//-------------MAIN---------------
thread 'GIVE_WEAPON'
jump @GIVE_WEAPON_27

:GIVE_WEAPON_27
wait 0
if and
0AB0: key_pressed 74
0AB0: key_pressed 106
jf @blubb
else_jump @GIVE_WEAPON_27
jump @GIVE_WEAPON_27

:GIVE_WEAPON_27
wait 0
Model.Load(#351)
if
Model.Available(#351)
else_jump @GIVE_WEAPON_27
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR, 27, 300)
wait 100
jump @GIVE_WEAPON_27


i tried to compile that and i get this error on both of these
23vb9k0.jpg



im very sorry if i fucked in some stupid way but this is my first time making a cleo
so can anyone kind enough tell me what is wrong or if i press a wrong button to compile it(i used f6)
thanks i would really appreciate it
 

dildotroll

Active member
Joined
Mar 23, 2013
Messages
142
Reaction score
0
Re: cant get this cleo to work

ehhh what
im sorry but im a noob with this
this is my first time attempting something
even though its basic i dont know what you mean :oops: :oops::oops:
can you maybe be a bit more specific or maybe write the correct line and tell which one is wrong :oops: :oops::oops:
 

blackHat

Expert
Joined
Jul 28, 2013
Messages
930
Reaction score
2
jf @blubb
?? where is blubb?

try to find the model by id and put it there

this is all i know i'm noob as you maybe more lol :p :p:p

ps: dont start with weps its a bit hard , start with somthing easy
 

Z0DY

Well-known member
Joined
Feb 20, 2013
Messages
225
Reaction score
0
Code:
{$VERSION 3.1.1000}
{$CLEO .cs}

//-------------MAIN---------------
thread 'GIVE_WEAPON'

:GIVE_WEAPON_1
wait 0
if and
0AB0: key_pressed 74
0AB0: key_pressed 106
jf @GIVE_WEAPON_1
jump @GIVE_WEAPON_27

:GIVE_WEAPON_27
wait 0
Model.Load(#SHOTGSPA)
if
Model.Available(#SHOTGSPA)
else_jump @GIVE_WEAPON_27
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR, 27, 300)
wait 100
jump @GIVE_WEAPON_1
 
Status
Not open for further replies.
Top