mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
add sm_fling back for testing whoops
This commit is contained in:
parent
83b82f2355
commit
9d26e5cddb
@ -352,6 +352,7 @@ public void OnPluginStart()
|
||||
|
||||
#if DEBUG
|
||||
RegConsoleCmd("sm_finishtest", Command_FinishTest);
|
||||
RegConsoleCmd("sm_fling", Command_Fling);
|
||||
#endif
|
||||
|
||||
// admin
|
||||
@ -761,6 +762,15 @@ public Action Command_FinishTest(int client, int args)
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
public Action Command_Fling(int client, int args)
|
||||
{
|
||||
float up[3];
|
||||
up[2] = 1000.0;
|
||||
SetEntPropVector(client, Prop_Data, "m_vecBaseVelocity", up);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Action Command_DeleteMap(int client, int args)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user