Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alliedmodders/sourcemod
/ SetVariantInt
Function
SetVariantInt
extensions/sdktools/variant-t.cpp:69–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
}
68
69
static cell_t SetVariantInt(IPluginContext *pContext, const cell_t *params)
70
{
71
g_Variant_t.SetInt(params[1]);
72
return 1;
73
}
74
75
static cell_t SetVariantFloat(IPluginContext *pContext, const cell_t *params)
76
{
Callers
nothing calls this directly
Calls
1
SetInt
Method · 0.80
Tested by
no test coverage detected