Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
text
Languages:
Russian
Size:
10K - 100K
Tags:
code
License:
#include <amxmodx> | |
#include <amxmisc> | |
#include <celltrie> | |
#define PLUGIN "New Plugin" | |
#define AUTHOR "Unknown" | |
#define VERSION "1.0" | |
public plugin_init() | |
{ | |
register_plugin(PLUGIN, VERSION, AUTHOR) | |
} | |
public findSteamID(steamID[34],Trie:steamIDs) | |
{ | |
new value; | |
TrieGetCell(steamIDs,steamID,value); | |
return value; | |
} | |
public plugin_cfg() | |
{ | |
new file = fopen("list","r") | |
new steamID[34] | |
new Trie:steamIDs = TrieCreate() | |
while(fgets(file,steamID,33)) | |
{ | |
steamID[strlen(steamID)-2] = 0; | |
TrieSetCell(steamIDs,steamID,true); | |
} | |
new steamIDFind[34] = "STEAM_0:1:1234567"; | |
for(new i=0;i<10000;i++) | |
{ | |
findSteamID(steamIDFind,steamIDs); | |
} | |
server_cmd("quit"); | |
} |