CLEO Help Ammo.cs

CLEO related
Status
Not open for further replies.

Spix

Well-known member
Joined
Sep 23, 2013
Messages
353
Reaction score
1
What have i done wrong, Can anyone help me with this? It's a cleo i made that when i do /setammo [ammo] it gives me the amount.

{$CLEO}
0000: "SpexxTr0n"
0662: "www.Ugbase.EU"
wait 2000
0B34: "setammo" to_label @SpexxTr0n

if not 0@ = SAMP.Base()
then 0A93: end_custom_thread
end

while not SAMP.Available()
    wait 100
end

while true // tis just a loop
wait 0
end

:SpexxTr0n
0001: wait 0 ms
0B35: samp 0@ = get_last_command_params
if
    0AD4: 0@ = 0@ format "%d" 1@ 
then
    0470: 2@ = actor $PLAYER_ACTOR current_weapon
    041A: 3@ = actor $PLAYER_ACTOR weapon 2@ ammo
    005A: 3@ += 1@ // (int)
    017B: set_actor $PLAYER_ACTOR weapon 2@ ammo_to 3@
end
0B43: cmd_ret
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
SpexxTr0n link said:
It's a cleo i made that when i do /setammo [ammo] it gives me the amount.
:kidding:

Code:
0000: "SPRGFLD"
0662: "UGBASE.EU"
wait 2000
0B34: "setammo" to_label @SPRGFLD

if not 0@ = SAMP.Base()
then 0A93: end_custom_thread
end

while not SAMP.Available()
    wait 100
end

while true // tis just a loop
wait 0
end

:SPRGFLD
0001: wait 0 ms 
0B35: samp 0@ = get_last_command_params 
if 
    0AD4: 0@ = 0@ format "%d" 1@  
then
    0470: 2@ = actor $PLAYER_ACTOR current_weapon 
    041A: 3@ = actor $PLAYER_ACTOR weapon 2@ ammo 
    005A: 3@ += 1@ // (int) 
    017B: set_actor $PLAYER_ACTOR weapon 2@ ammo_to 3@ 
end 
0B43: cmd_ret

from here http://ugbase.eu/requests-10/ammo-giver-cs/msg28928/#msg28928
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
:computer_guy: it doesn't work because you changed SPRGFLD into SpexxTr0n  :iknowwhatyoudid:


me_gusta_creepy_low.jpg
 

Spix

Well-known member
Joined
Sep 23, 2013
Messages
353
Reaction score
1
haha , i like to have my name on the stuff when i use it Ingame, But, It's not working on 0.3z even if i have his name, Can anyone explain why :)?
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
SpexxTr0n link said:
haha , i like to have my name on the stuff when i use it Ingame, But, It's not working on 0.3z even if i have his name, Can anyone explain why :)?
So just assume ownership, come here and claim "i made this" but it's not working.
PS: Those names in CLEO don't show up in game anywhere, so you're just a retarded piece of shit.

I won't help you, bye.
 

zaki19

Well-known member
Joined
Feb 27, 2013
Messages
393
Reaction score
0
springfield link said:
[quote author=SpexxTr0n link=topic=6051.msg34418#msg34418 date=1394915086]
haha , i like to have my name on the stuff when i use it Ingame, But, It's not working on 0.3z even if i have his name, Can anyone explain why :)?
So just assume ownership, come here and claim "i made this" but it's not working.
PS: Those names in CLEO don't show up in game anywhere, so you're just a retarded piece of shit.

I won't help you, bye.
[/quote]

:urtheman:
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
zaki19 link said:
[quote author=springfield link=topic=6051.msg34465#msg34465 date=1394958190]
[quote author=SpexxTr0n link=topic=6051.msg34418#msg34418 date=1394915086]
haha , i like to have my name on the stuff when i use it Ingame, But, It's not working on 0.3z even if i have his name, Can anyone explain why :)?
So just assume ownership, come here and claim "i made this" but it's not working.
PS: Those names in CLEO don't show up in game anywhere, so you're just a retarded piece of shit.

I won't help you, bye.
[/quote]

:urtheman:
[/quote]

Will you stop bumping old threads with stupid messages like this ?
Thanks.
 

zaki19

Well-known member
Joined
Feb 27, 2013
Messages
393
Reaction score
0
xzytro link said:
[quote author=zaki19 link=topic=6051.msg36808#msg36808 date=1396485082]
[quote author=springfield link=topic=6051.msg34465#msg34465 date=1394958190]
[quote author=SpexxTr0n link=topic=6051.msg34418#msg34418 date=1394915086]
haha , i like to have my name on the stuff when i use it Ingame, But, It's not working on 0.3z even if i have his name, Can anyone explain why :)?
So just assume ownership, come here and claim "i made this" but it's not working.
PS: Those names in CLEO don't show up in game anywhere, so you're just a retarded piece of shit.

I won't help you, bye.
[/quote]

:urtheman:
[/quote]

Will you stop bumping old threads with stupid messages like this ?
Thanks.
[/quote]

:yesyes: :yesyes:
 
Status
Not open for further replies.
Top