mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-09 03:18:25 +00:00
make slay zone work without timer on
This commit is contained in:
parent
63b0cf2ad4
commit
2073407cee
@ -741,15 +741,15 @@ public Action OnPlayerRunCmd(int client, int &buttons)
|
|||||||
return Plugin_Continue;
|
return Plugin_Continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(InsideZone(client, gV_MapZones[Zone_Slay][0], gV_MapZones[Zone_Slay][1]))
|
||||||
|
{
|
||||||
|
Shavit_StopTimer(client);
|
||||||
|
|
||||||
|
ForcePlayerSuicide(client);
|
||||||
|
}
|
||||||
|
|
||||||
if(bStarted)
|
if(bStarted)
|
||||||
{
|
{
|
||||||
if(InsideZone(client, gV_MapZones[Zone_Slay][0], gV_MapZones[Zone_Slay][1]))
|
|
||||||
{
|
|
||||||
Shavit_StopTimer(client);
|
|
||||||
|
|
||||||
ForcePlayerSuicide(client);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(InsideZone(client, gV_MapZones[Zone_Stop][0], gV_MapZones[Zone_Stop][1]))
|
if(InsideZone(client, gV_MapZones[Zone_Stop][0], gV_MapZones[Zone_Stop][1]))
|
||||||
{
|
{
|
||||||
Shavit_StopTimer(client);
|
Shavit_StopTimer(client);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user