Raised This Month: $51 Target: $400
 12% 

Guardado por frags


  
 
 
Thread Tools Display Modes
Author Message
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 07-09-2010 , 07:28   Guardado por frags
#1

Edite el guardado por fvault de little body para que guardase frags unicamente
Lo que ocurre es que cuando alguien se crea una cuenta se le cambia el name al que puso como nombre de cuenta; pero a los demas players del sv tambien se lo cambia

Dejo el code por si acaso

pD : le agrege un clcmd para registrarse/desloguearse
Attached Files
File Type: sma Get Plugin or Get Source (guardado_frags.sma - 513 views - 21.1 KB)
__________________

- ASM2SMA: Experimental AMXX Assembly encoder

- Defuse Bar Fix

Quote:
Originally Posted by Arkshine
I DON'T WANT TO SEE NOOOOOOOOOOOOOOO AHHHHH. MY EYES ARE ALREADY HURT.
S34Qu4K3 is offline
Calaverazo
Senior Member
Join Date: Dec 2009
Old 07-09-2010 , 15:13   Re: [ES]Guardado por frags
#2

yo lo arregle asi..

cambia esto:

PHP Code:
public FwClientUserInfoChanged(idbuffer)
{
    if (!
is_user_connected(id))
        return 
FMRES_IGNORED
    
    
static Oldname[33]
    
    
engfunc(EngFunc_InfoKeyValuebuffer"name"Oldnamesizeof Oldname 1)
    
    if(
equal(OldnamePlayerNick[id]))
        return 
FMRES_IGNORED
    
    
if(EstoyRegistrado[id])
    {
        
set_user_info(id"name"PlayerNick[id])
        
client_cmd(id"setinfo ^"name^" ^"%s^""PlayerNick[id])
        
        return 
FMRES_SUPERCEDE;
    }
    else
    {
        if(
ChangeNick[id])
        {
            
set_user_info(id"name"Oldname)
            
client_cmd(id"setinfo ^"name^" ^"%s^""Oldname)
        }
        
        return 
FMRES_IGNORED;
    }
    
    return 
FMRES_SUPERCEDE;

por esto:

PHP Code:
public FwClientUserInfoChanged(idbuffer)
{
    if (!
is_user_connected(id))
        return 
FMRES_IGNORED
    
    
static Oldname[33]
    
    
engfunc(EngFunc_InfoKeyValuebuffer"name"Oldnamesizeof Oldname 1)
    
    if(
equal(OldnamePlayerNick[id]))
        return 
FMRES_IGNORED
    
    
if(EstoyRegistrado[id])
    {
        
set_user_info(id"name"Oldname)
        
client_cmd(id"setinfo ^"name^" ^"%s^""Oldname)
        
        return 
FMRES_SUPERCEDE;
    }
    else
    {
        if(
ChangeNick[id])
        {
            
set_user_info(id"name"Oldname)
            
client_cmd(id"setinfo ^"name^" ^"%s^""Oldname)
        }
        
        return 
FMRES_IGNORED;
    }
    
    return 
FMRES_SUPERCEDE;

probá
Calaverazo is offline
kratos.pro
Senior Member
Join Date: Nov 2011
Location: New york
Old 01-16-2012 , 15:37   Re: [ES]Guardado por frags
#3

Pero si creas una cuenta y pones un nombre tiene que ser tu nombre porque sino lo cambia. Eso no es lo mejor
__________________
kratos.pro is offline
Send a message via MSN to kratos.pro
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 01-16-2012 , 16:29   Re: [ES]Guardado por frags
#4

Quote:
Originally Posted by kratos.pro View Post
Pero si creas una cuenta y pones un nombre tiene que ser tu nombre porque sino lo cambia. Eso no es lo mejor
Fijate la fecha, HACE DOS AÑOS!
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
kratos.pro
Senior Member
Join Date: Nov 2011
Location: New york
Old 01-19-2012 , 10:49   Re: Guardado por frags
#5

Bueno . es que estoy buscando el plugin
__________________
kratos.pro is offline
Send a message via MSN to kratos.pro
XINLEI
me too
Join Date: Jun 2011
Location: Colombian Coffee storage
Old 01-19-2012 , 11:40   Re: Guardado por frags
#6

Quote:
Originally Posted by kratos.pro View Post
Bueno . es que estoy buscando el plugin
Fijate la fecha, HACE TRES DIAS!

Last edited by XINLEI; 01-19-2012 at 11:40.
XINLEI 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 01:32.


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