From bae35aa0b154fcee1bff505a274d01f44f792780 Mon Sep 17 00:00:00 2001 From: Edo Date: Mon, 3 Apr 2023 11:03:50 +0200 Subject: [PATCH] fix(iw4x_utility): ufo/noclip --- iw4x/iw4x_00/common_scripts/iw4x_utility.gsc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iw4x/iw4x_00/common_scripts/iw4x_utility.gsc b/iw4x/iw4x_00/common_scripts/iw4x_utility.gsc index e91bbdb..fbb7803 100644 --- a/iw4x/iw4x_00/common_scripts/iw4x_utility.gsc +++ b/iw4x/iw4x_00/common_scripts/iw4x_utility.gsc @@ -1,7 +1,7 @@ /* ============= ///ScriptDocBegin -"Name: noclip()" +"Name: _noclip()" "Summary: noclip used on a player entity will make them fly and clip through walls." "Module: IW4x Utility" "CallOn: An entity" @@ -10,7 +10,7 @@ ///ScriptDocEnd ============= */ -noclip() +_noclip() { if ( self.clientflags & 1 ) { @@ -27,7 +27,7 @@ noclip() /* ============= ///ScriptDocBegin -"Name: ufo()" +"Name: _ufo()" "Summary: ufo used on a player entity will make them fly and clip through walls." "Module: IW4x Utility" "CallOn: An entity" @@ -36,7 +36,7 @@ noclip() ///ScriptDocEnd ============= */ -ufo() +_ufo() { if ( self.clientflags & 2 ) {