thanks mate for reply can i use this code and replace it with my old cs code >?springfield said:Cause it's redundant.
[shcode=cpp]
{$CLEO}
0000:
while true
wait 0
if 0ab0: 121 //check if key is pressed
then
wait 100 //wait some time to avoid toggling multiple times if key is down
0B12: 0@ = 0@ XOR 1 //toggle 0@ between 0 and 1 aka on and off
if 0@ == true
then 0331: set_player $PLAYER_CHAR fast_reload 1
else 0331: set_player $PLAYER_CHAR fast_reload 0
end
end
end
[/shcode]
potter said:At the last i compile lol... thanks mate thanks but a little problem is till left and is that in sniper and swanoff reload is fast i want only swanoff reload fast but no sniper, becoz in sniper is u shoot with speed it will detectable,
can u make a code to slow down reload speed of sniper ???
mate if u can plz post code.
potter said:@springfield
just tell me that if i want to change keys then what code i use mean i want to use two key in while one key use for on and other for off then what code requieres.
//on
if 0ab0: key1
then
wait 100
0331: set_player $PLAYER_CHAR fast_reload 1
end
//off
if 0ab0: key2
then
wait 100
0331: set_player $PLAYER_CHAR fast_reload 0
end
hey man you are so new to cleo change key1 and key2 to keys that you need for exampe 121potter said:
Compiled one http://www88.zippyshare.com/v/eI3vQeNb/file.htmlpotter said:
still problem some one solve it, plz i m big noob in cleo but still i love it,
some one solve it and post compile codes
potter said:
still problem some one solve it, plz i m big noob in cleo but still i love it,
some one solve it and post compile codes
Edvincik said:Compiled one http://www88.zippyshare.com/v/eI3vQeNb/file.htmlpotter said:
still problem some one solve it, plz i m big noob in cleo but still i love it,
some one solve it and post compile codes