Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public LoadItems()
- {
- new Handle:db = CreateKeyValues("RoundVotes");
- FileToKeyValues(db, kvfile);
- new String:index[6], String:buffer[10]
- for(new i = 1;i < 5;i++)
- {
- if(KvJumpToKey(db, i, false))
- {
- Format(index, sizeof(index), "%d", i);
- KvGetString(db, index, buffer, sizeof(buffer), "NULLSTRING")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement