Raised This Month: $ Target: $400
 0% 

Native: set_speak PROBLEM... [SOLVED]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bello
BANNED
Join Date: Jun 2010
Old 06-16-2010 , 20:20   Re: CODE PROBLEM...
Reply With Quote #3

No, the problem this is in infochanged...

PHP Code:
public client_infochanged(id) {
    static 
sName[32], NewName[32], ID[28]
    
get_user_name(idsNamesizeof(sName)-1)
    
get_user_info(id"name"NewNamesizeof(NewName)-1)
    
get_user_authid(idIDsizeof(ID)-1)
    
    if(!
equali(sNameNewName)) {
        new 
lines file_size(Direccion,1)
        new 
file[1024], len
    
        
for(new i=0i<=linesi++) {
            
read_file(Direccionfile1023len)
        
            if(
equal(IDfile)) {
                
set_speak(id1)
            
                if(!(
contain(NewNameMuted[0]) != -1)) {
                    
add(NewNamesizeof(sName)-1Muted[1])
                    
set_user_info(id"name"NewName)
                    break
                }
            }
        }
    }

Code:
L 06/14/2010 - 23:57:39: Start of error session.
L 06/14/2010 - 23:57:39: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100614.log")
L 06/14/2010 - 23:57:39: [ENGINE] Invalid player 1
L 06/14/2010 - 23:57:39: [AMXX] Displaying debug trace (plugin "yap_mute.amxx")
L 06/14/2010 - 23:57:39: [AMXX] Run time error 10: native error (native "set_speak")
L 06/14/2010 - 23:57:39: [AMXX]    [0] yap_mute.sma::client_infochanged (line 198)
who can help with this
Bello is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode