mirror of
https://github.com/JezuzLizard/T4SP-Server-Plugin.git
synced 2025-04-19 21:22:54 +00:00
Add this func
This commit is contained in:
parent
7e87e04413
commit
9b10a3e32f
@ -5739,5 +5739,11 @@ namespace codsrc
|
||||
{
|
||||
game::Scr_NotifyNum_Internal(game::SCRIPTINSTANCE_SERVER, entnum, classnum, stringValue, paramcount);
|
||||
}
|
||||
|
||||
// Restored
|
||||
unsigned int Scr_GetNumParam(game::scriptInstance_t inst)
|
||||
{
|
||||
return game::gScrVmPub[inst].outparamcount;
|
||||
}
|
||||
}
|
||||
#pragma warning(pop)
|
||||
|
@ -116,4 +116,5 @@ namespace codsrc
|
||||
unsigned int GetInternalVariableIndex(game::scriptInstance_t inst, unsigned int unsignedValue);
|
||||
const char* Scr_ReadData(game::scriptInstance_t inst, const char** pos, unsigned int count);
|
||||
void Scr_NotifyNum(int entnum, game::classNum_e classnum, unsigned int stringValue, unsigned int paramcount);
|
||||
unsigned int Scr_GetNumParam(game::scriptInstance_t inst);
|
||||
}
|
||||
|
@ -178,4 +178,5 @@ namespace game
|
||||
void Scr_EvalBoolNot(scriptInstance_t inst, VariableValue* value);
|
||||
unsigned int GetInternalVariableIndex(scriptInstance_t inst, unsigned int unsignedValue);
|
||||
const char* Scr_ReadData(scriptInstance_t inst, const char** pos, unsigned int count);
|
||||
unsigned int Scr_GetNumParam(game::scriptInstance_t inst);
|
||||
}
|
@ -981,4 +981,9 @@ namespace game
|
||||
{
|
||||
return codsrc::Scr_ReadData(inst, pos, count);
|
||||
}
|
||||
|
||||
unsigned int Scr_GetNumParam(game::scriptInstance_t inst)
|
||||
{
|
||||
return codsrc::Scr_GetNumParam(inst);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user