1
0
mirror of https://github.com/XLabsProject/iw4x-rawfiles.git synced 2023-08-02 15:02:11 +02:00

fix(iw4x_utility): ufo/noclip

This commit is contained in:
Edo 2023-04-03 11:03:50 +02:00 committed by GitHub
parent 4d9d45899f
commit bae35aa0b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 )
{