CLEO Help cleo works when typing on chat

CLEO related
Status
Not open for further replies.

FixmeH

Active member
Joined
Feb 27, 2014
Messages
33
Reaction score
0
yo i have this reload.cs script which i dl'd somewhere but it activates while typing on the chat

any idea on how to make it so it doesn't activate when you're typing on the chat?


i have attached the cleo file below.
 

Attachments

  • 12_reloading.cs
    17.4 KB · Views: 26

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Code:
{$CLEO}
03A4: 'RELOAD' 

:RELOAD_13
0001: wait 100 ms 
00D6: if 
0256:   player $PLAYER_CHAR defined 
004D: jump_if_false @RELOAD_13 
0A96: 0@ = actor $PLAYER_ACTOR struct 
000A: 0@ += 1816 
0A8D: 1@ = read_memory 0@ size 1 virtual_protect 0 
0A96: 0@ = actor $PLAYER_ACTOR struct 
000A: 0@ += 1440 
0012: 1@ *= 28 
005A: 0@ += 1@ // (int) 
000A: 0@ += 4 
00D6: if and 
0AB0:   key_pressed 82
    not SAMP.ChatInputOpened()
004D: jump_if_false @RELOAD_13 
0A8C: write_memory 0@ size 4 value 2 virtual_protect 1 
0624: add 1.0 to_float_stat 69 
0624: add 1.0 to_float_stat 70 
0624: add 1.0 to_float_stat 71 
0624: add 1.0 to_float_stat 72 
0624: add 1.0 to_float_stat 73 
0624: add 1.0 to_float_stat 74 
0624: add 1.0 to_float_stat 75 
0624: add 1.0 to_float_stat 76 
0624: add 1.0 to_float_stat 77 
0624: add 1.0 to_float_stat 78 
0624: add 1.0 to_float_stat 79 
0002: jump @RELOAD_13

Compile that and use sampfuncs 5.1.1
 

FixmeH

Active member
Joined
Feb 27, 2014
Messages
33
Reaction score
0
springfield link said:
Copy the sb data from SAMPFUNCS to your SannyBuilder folder.

I did that, now I can an error saying that it doesn't recognize SampInputChat or w/e is that
 

iAnthony

Moderator
Moderator
Joined
Nov 15, 2013
Messages
590
Reaction score
3
Are you sure you copied it to your sanny buildee folder?  :surprised:
tell us exactly wat u did  :yuno:
 

FixmeH

Active member
Joined
Feb 27, 2014
Messages
33
Reaction score
0
Drag and dropped the SB data folder into the SB directory...re-tried to compile, got that error
 

iAnthony

Moderator
Moderator
Joined
Nov 15, 2013
Messages
590
Reaction score
3
snitcher link said:
Drag and dropped the SB data folder into the SB directory...re-tried to compile, got that error
Program Files>>> Sanny Builder>>> data>> paste the files here
 
Status
Not open for further replies.
Top