We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test case:
public void OnPluginStart() { char path[PLATFORM_MAX_PATH]; BuildPath(Path_SM, path, sizeof(path), "configs/somefile.txt"); KeyValues kv = CreateKeyValues("some_kv"); kv.SetColor("some_color", 255, 0, 0, 0); int r, g, b, a; kv.GetColor("some_color", r, g, b ,a); PrintToServer("%i %i %i %i", r, g, b, a); kv.ExportToFile(path); }
Console output:
255 0 0 0 [SM] Plugin kv_testcase.smx reloaded successfully.
File output:
"some_kv" { }
This was reported to me by Drixevel, so thanks to him for reporting it.
Edit: I guess it's unimplemented in hl2sdk ref:https://github.com/alliedmodders/hl2sdk/blob/sdk2013/tier1/KeyValues.cpp#L973
The text was updated successfully, but these errors were encountered:
I've mailed tfteam for you. If they implement it that's great; if not well, this is an SDK issue.
Sorry, something went wrong.
No branches or pull requests
Test case:
Console output:
File output:
This was reported to me by Drixevel, so thanks to him for reporting it.
Edit: I guess it's unimplemented in hl2sdk ref:https://github.com/alliedmodders/hl2sdk/blob/sdk2013/tier1/KeyValues.cpp#L973
The text was updated successfully, but these errors were encountered: