habbike05
Member
- Joined
- Sep 15, 2014
- Messages
- 6
- Reaction score
- 0
Hello everybody. i'm having a issue on my code, the problem is the scan_string is never true and idk what i'm doing wrong, i've already read many threads and i can't fix it, pls help.
	
	
	
		
Ingame lines
			
			
		Code:
	
	while true
    wait 50
    0AC9: free_allocated_memory 15@
    alloc 15@ = 260
    SAMP.GetChatString( 99, 15@, 16@, 17@, 18@)
        if or
        0AD4: $NOT_USED = scan_string 15@ format "* %s pescou um peixe com %d kilos." $NOT_USED $NOT_USED
        0C14: strcmp string1 15@ string2 "Você não conseguiu pescar nada."
        then
        wait 100                                                       
        0AF9: "/pescar"
        0AC9: free_allocated_memory 15@
        wait 100
        break
        end
    0AC9: free_allocated_memory 15@
    
end //Fim do whileIngame lines
 
				 
 
		 
			 
			 
 
		 
 
		 
 
		 
 
		