Raised This Month: $ Target: $400
 0% 

Delete time saving?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Krystek.
Member
Join Date: May 2022
Old 05-18-2022 , 16:05   Delete time saving?
Reply With Quote #1

Code:
#include <amxmodx>
#include <amxmisc>
#include <fvault>

new const g_vault_name[] = "popular_maps";

public plugin_init() {
    new mapname[64];
    get_mapname(mapname, sizeof(mapname) - 1);
    
    new info[10];
    fvault_get_data(g_vault_name, mapname, info, sizeof(info) - 1);
    
    num_to_str(str_to_num(info) + 1, info, sizeof(info) - 1);
    
    fvault_set_data(g_vault_name, mapname, info);
}
https://forums.alliedmods.net/showthread.php?t=76453


Can you remove from this time? Because after saving it looks like this
Code:
"de_dust2" "1" 1652903413
Krystek. 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 21:19.


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