Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
text
Languages:
Russian
Size:
10K - 100K
Tags:
code
License:
File size: 724 Bytes
82d6031 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
#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"); } |