Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Action:Test2(client, args)
- {
- BuildPath(Path_SM, KvPath, sizeof(KvPath), "configs/tf2_saysounds.cfg");
- new Handle:DB = CreateKeyValues("Phrase");
- FileToKeyValues(DB, KvPath);
- char name2[64]
- if(KvGotoFirstSubKey(DB))
- {
- KvGetString(DB, "name", name2, 64);
- PrintToChatAll(name2);
- KvSetString(DB, "name", "abcde");
- }
- KvRewind(DB);
- KeyValuesToFile(DB, KvPath);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement