KamikazeSripterul
Well-known member
- Joined
- Jun 30, 2019
- Messages
- 353
- Reaction score
- 23
So I tried to make a script in which when the following is been said, it would say the next things in "" but it doesn't work... Can anyone help me please?
	
	
	
		
			
			
		Code:
	
	{$CLEO .cs}               
thread "Auto-Clicker"
0000:
repeat
wait 0
until SAMP.Available()
while true
wait 0
    SAMP.GetChatString(1@, 2@, 3@, 4@, 5@)
    alloc 2@ 260
    if or
    0C18: 10@ = strstr string1 2@ string2 "AFK LA PC"
    0C18: 10@ = strstr string1 2@ string2 "BAN PENTRU"
    0C18: 10@ = strstr string1 2@ string2 "AUTOCLICKER"
    0C18: 10@ = strstr string1 2@ string2 "AUTO-CLICKER"
    0C18: 10@ = strstr string1 2@ string2 "ESTI LA PC"
    then
        say "/stopanim"         
        wait 2000
        say "Da, sunt la PC :<."
        wait 1000
        say "/sleep"
    end
    free 2@
end 
				 
 
		 
 
		