Raised This Month: $ Target: $400
 0% 

Native: set_speak PROBLEM... [SOLVED]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-17-2010 , 00:35   Re: Native: set_speak PROBLEM...
Reply With Quote #8

Quote:
Originally Posted by Bello View Post
Ok then what place as said alucard?
Wow, this is sad. You can either do what he said or do this:

PHP Code:
public client_infochanged(id)
{
    if( 
is_user_connected(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
                    }
                }
            }
        }
    }

Mine is more efficient.
__________________
fysiks 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