Raised This Month: $32 Target: $400
 8% 

fvault remove key


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FonixPro20
Member
Join Date: Mar 2018
Old 06-21-2019 , 00:57   fvault remove key
Reply With Quote #1

Hello everyone,

How to create fvault_prune to clean all players less than level 5 evey 15 days if that impossible any idea to remove players with call function or something ?

PHP Code:
public SaveData(id)    
{
    if(!
is_user_bot(id))
        return;

    new 
key[64], name[65], data_[328];

    
get_user_name(idname34);   
        
    
format(key63"%s"name);     
    
format(data_327"^"%d^" ^"%d^" ^"%d^""g_level[id], g_exp[id], g_exp2[id]);
    
fvault_set_data("levels"keydata_);  


public 
LoadData(id)    
{   
    new 
key[64], name[65], data_[328];
    
get_user_name(idname34);    
    
    
format(key63"%s"name);    
    
format(data_327"^"%d^" ^"%d^" ^"%d^""g_level[id], g_exp[id], g_exp2[id]);
    
fvault_get_data("levels"keydata_charsmax(data_));
    
    new 
level[32], exp[32],  exp2[32];
    
    
parse(data_levelsizeof(level) - 1expsizeof(exp) - 1exp2sizeof(exp2) - 1);
    
    
g_level[id] = str_to_num(level);   
    
g_exp[id] = str_to_num(exp);
    
g_exp2[id] = str_to_num(exp2);

Thanks everyone.
FonixPro20 is offline
Reply



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 21:00.


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