AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Delete time saving? (https://forums.alliedmods.net/showthread.php?t=337836)

Krystek. 05-18-2022 16:05

Delete time saving?
 
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

fysiks 05-18-2022 23:45

Re: Delete time saving?
 
Huh, what?

Craxor 05-19-2022 00:29

Re: Delete time saving?
 
You want to remove the info? that number 165..

Please add more Details to what you wanna try to do .

Krystek. 05-19-2022 07:59

Re: Delete time saving?
 
I've already dealt with removing "1652903413"

fysiks 05-19-2022 23:05

Re: Delete time saving?
 
Ok, so what is your question then?

Krystek. 05-20-2022 07:07

Re: Delete time saving?
 
The question is outdated as I wrote above.

Craxor 05-20-2022 10:48

Re: Delete time saving?
 
Quote:

Originally Posted by Krystek. (Post 2779800)
The question is outdated as I wrote above.

You solved or what ?

Man , i feel like you are DjEarthQuake 2.0

bigdaddy424 05-20-2022 22:25

Re: Delete time saving?
 
Whats wrong with DjEarthQuake?

OciXCrom 05-21-2022 06:21

Re: Delete time saving?
 
Quote:

Originally Posted by bigdaddy424 (Post 2779838)
Whats wrong with DjEarthQuake?

He failed to select all images containing a bicycle.

Craxor 05-21-2022 15:54

Re: Delete time saving?
 
Quote:

Originally Posted by OciXCrom (Post 2779866)
He failed to select all images containing a bicycle.

He could have done that , but he forgot to check if user is connected . No worry , he will never repeat this mistake .


All times are GMT -4. The time now is 21:19.

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