mirror of
https://github.com/celisej567/BCWSsrc.git
synced 2026-09-15 20:12:39 +03:00
Minor VScript VPC fixes + misc. adjustments
This commit is contained in:
@@ -50,7 +50,6 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
DevMsg( "VScript NetPropManager: Prop name is \"%s\"\n", pProp->GetName() );
|
||||
if (FStrEq( pProp->GetName(), pszPropName ))
|
||||
return pProp;
|
||||
}
|
||||
@@ -647,6 +646,8 @@ void RegisterSharedScriptFunctions()
|
||||
ScriptRegisterFunction( g_pScriptVM, RandomFloat, "Generate a random floating point number within a range, inclusive." );
|
||||
ScriptRegisterFunction( g_pScriptVM, RandomInt, "Generate a random integer within a range, inclusive." );
|
||||
|
||||
ScriptRegisterFunction( g_pScriptVM, AngleDiff, "Returns the number of degrees difference between two yaw angles." );
|
||||
|
||||
#ifndef CLIENT_DLL
|
||||
ScriptRegisterFunctionNamed( g_pScriptVM, NDebugOverlay::BoxDirection, "DebugDrawBoxDirection", "Draw a debug forward box" );
|
||||
ScriptRegisterFunctionNamed( g_pScriptVM, NDebugOverlay::Text, "DebugDrawText", "Draw a debug overlay text" );
|
||||
|
||||
Reference in New Issue
Block a user