mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-10 03:48:25 +00:00
just spectate the bot 4head (#969)
This commit is contained in:
parent
8a36caaa14
commit
50805a5d8d
@ -2422,16 +2422,9 @@ public Action Command_Replay(int client, int args)
|
|||||||
{
|
{
|
||||||
ChangeClientTeam(client, CS_TEAM_SPECTATOR);
|
ChangeClientTeam(client, CS_TEAM_SPECTATOR);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
SetEntPropEnt(client, Prop_Send, "m_hObserverTarget", gA_CentralCache.iClient);
|
SetEntPropEnt(client, Prop_Send, "m_hObserverTarget", gA_CentralCache.iClient);
|
||||||
}
|
|
||||||
|
|
||||||
else if(GetSpectatorTarget(client) != gA_CentralCache.iClient)
|
|
||||||
{
|
|
||||||
Shavit_PrintToChat(client, "%T", "CentralReplaySpectator", client, gS_ChatStrings.sWarning, gS_ChatStrings.sText, gS_ChatStrings.sVariable, gS_ChatStrings.sText);
|
|
||||||
|
|
||||||
return Plugin_Handled;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(CanStopCentral(client))
|
if(CanStopCentral(client))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -38,11 +38,6 @@
|
|||||||
"en" "Could not delete replay for {1}{2}{3}."
|
"en" "Could not delete replay for {1}{2}{3}."
|
||||||
}
|
}
|
||||||
// ---------- Central Replay Menu ---------- //
|
// ---------- Central Replay Menu ---------- //
|
||||||
"CentralReplaySpectator"
|
|
||||||
{
|
|
||||||
"#format" "{1:s},{2:s},{3:s},{4:s}"
|
|
||||||
"en" "You have to {1}spectate{2} the {3}central bot{4} to use this feature."
|
|
||||||
}
|
|
||||||
"CentralReplayTitle"
|
"CentralReplayTitle"
|
||||||
{
|
{
|
||||||
"en" "Select a replay style to play:"
|
"en" "Select a replay style to play:"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user