mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-21 12:17:12 +01:00
Rename the SpectateNone() function to Unspectate().
This commit is contained in:
parent
8125400f7f
commit
ac5cc871de
@ -1373,7 +1373,7 @@ void CPlayer::SetSpectatorID(SQInteger id) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
void CPlayer::SpectateNone() const
|
void CPlayer::Unspectate() const
|
||||||
{
|
{
|
||||||
// Validate the managed identifier
|
// Validate the managed identifier
|
||||||
Validate();
|
Validate();
|
||||||
@ -2709,7 +2709,7 @@ void Register_CPlayer(HSQUIRRELVM vm)
|
|||||||
.Func(_SC("StripWeapons"), &CPlayer::StripWeapons)
|
.Func(_SC("StripWeapons"), &CPlayer::StripWeapons)
|
||||||
.Func(_SC("RestoreCamera"), &CPlayer::RestoreCamera)
|
.Func(_SC("RestoreCamera"), &CPlayer::RestoreCamera)
|
||||||
.Func(_SC("Spectating"), &CPlayer::GetSpectator)
|
.Func(_SC("Spectating"), &CPlayer::GetSpectator)
|
||||||
.Func(_SC("SpectateNone"), &CPlayer::SpectateNone)
|
.Func(_SC("Unspectate"), &CPlayer::Unspectate)
|
||||||
.Func(_SC("Spectate"), &CPlayer::SetSpectator)
|
.Func(_SC("Spectate"), &CPlayer::SetSpectator)
|
||||||
.Func(_SC("Redirect"), &CPlayer::Redirect)
|
.Func(_SC("Redirect"), &CPlayer::Redirect)
|
||||||
.Func(_SC("PlaySound"), &CPlayer::PlaySound)
|
.Func(_SC("PlaySound"), &CPlayer::PlaySound)
|
||||||
|
@ -742,7 +742,7 @@ public:
|
|||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
* Set the managed player entity to spectate no one.
|
* Set the managed player entity to spectate no one.
|
||||||
*/
|
*/
|
||||||
void SpectateNone() const;
|
void Unspectate() const;
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
* Redirect the managed player entity to the specified server.
|
* Redirect the managed player entity to the specified server.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user