Add sm_gotocouch & effect intensity
This commit is contained in:
@@ -67,6 +67,15 @@ native int Couch_Spawn(int client);
|
||||
*/
|
||||
native bool Couch_Bring(int client);
|
||||
|
||||
/**
|
||||
* Teleports the client onto the couch, or beside it when the top is blocked. The client keeps
|
||||
* their view angles and arrives with no velocity.
|
||||
*
|
||||
* @param client Client to teleport. Must be in game.
|
||||
* @return True on success, false if there is no couch.
|
||||
*/
|
||||
native bool Couch_Goto(int client);
|
||||
|
||||
/**
|
||||
* Removes the couch and forgets its placement.
|
||||
*
|
||||
@@ -131,6 +140,7 @@ public SharedPlugin __pl_Couch =
|
||||
MarkNativeAsOptional("Couch_IsPlaced");
|
||||
MarkNativeAsOptional("Couch_Spawn");
|
||||
MarkNativeAsOptional("Couch_Bring");
|
||||
MarkNativeAsOptional("Couch_Goto");
|
||||
MarkNativeAsOptional("Couch_Remove");
|
||||
MarkNativeAsOptional("Couch_IsEffectEnabled");
|
||||
MarkNativeAsOptional("Couch_SetEffectEnabled");
|
||||
|
||||
Reference in New Issue
Block a user