-
-
Notifications
You must be signed in to change notification settings - Fork 464
Closed
Labels
Feature Requestuser requested featureuser requested feature
Description
SM has DispatchKeyValue/DispatchKeyValueFloat/DispatchKeyValueVector available.
Having a wrapper to int would be useful for scenarios where we use int and int cvars as the value.
To achieve that with int values, currently is necessary to create a buffer string, format it, then uses it as DispatchKeyValue;
e.g: DispatchKeyValue(entity, "key", buffer);
From what I researched the current methods read some symbols and seem that "Int" is not available as one of them.
But I believe this could be implemented by changing "extensions/sdktools/vnatives.cpp"
IMO would help in scripting, some similar stuff was done like "GetCmdArgInt", etc.
Anyway, is just a request, if it doesn't make sense, just be polite and close.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feature Requestuser requested featureuser requested feature