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

[Ayuda] ZP borrar cuenta SOLUCIONADO :D


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
RauliTop
BANNED
Join Date: Apr 2012
Location: España
Old 04-06-2012 , 13:25   [Ayuda] ZP borrar cuenta SOLUCIONADO :D
#1

Tengo esta funcion para borrar una cuenta del mi zp:

PHP Code:
public delete_account(id)
{
    new 
key[128], data[128]
    
    
formatex(keycharsmax(key), "%s %s"id_say[id], password_say[id])
        
    if (
fvault_get_data(g_accountskeydatacharsmax(data)))
    {
        
fvault_remove_key(g_accountskey)
        
client_print(idprint_center"[ZA] Cuenta desactivada con exito")
        
log_out(id)
    }
    else
        
client_print(idprint_center"[ZA] Error: Cuenta no encontrada!")
    
    return 
PLUGIN_HANDLED;

Parece que esta bien, no?

Bueno, el error esta en que cuando guardo las cuentas las guardo asi ->"id" "contraseña" no asi "id contraseña" ya probe cambiando el key asi:
PHP Code:
formatex(keycharsmax(key), "%s" "%s"id_say[id], password_say[id]) 
Pero claro esta que eso no puede compilar, alguna solucion que no sea a guardar las cuentas asi: "id contraseña" ???

Last edited by RauliTop; 04-07-2012 at 07:22.
RauliTop is offline
Send a message via MSN to RauliTop
 


Thread Tools
Display Modes

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 18:03.


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