mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-21 11:17:56 +03:00
36 lines
943 B
Plaintext
36 lines
943 B
Plaintext
static char g_Script_vscript_client[] = R"vscript(
|
|
//========== Copyright © 2008, Valve Corporation, All rights reserved. ========
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================
|
|
|
|
local DoUniqueString = DoUniqueString
|
|
local DoDispatchParticleEffect = DoDispatchParticleEffect
|
|
|
|
function UniqueString( string = "" )
|
|
{
|
|
return DoUniqueString( "" + string );
|
|
}
|
|
|
|
function IncludeScript( name, scope = null )
|
|
{
|
|
if ( !scope )
|
|
{
|
|
scope = this;
|
|
}
|
|
return ::DoIncludeScript( name, scope );
|
|
}
|
|
|
|
function DispatchParticleEffect( particleName, origin, angles, entity = null )
|
|
{
|
|
return DoDispatchParticleEffect( particleName, origin, angles, entity );
|
|
}
|
|
|
|
function ImpulseScale( flTargetMass, flDesiredSpeed )
|
|
{
|
|
return flTargetMass * flDesiredSpeed;
|
|
}
|
|
__Documentation.RegisterHelp( "ImpulseScale", "float ImpulseScale(float, float)", "Returns an impulse scale required to push an object." );
|
|
|
|
)vscript"; |