mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-13 07:04:33 +00:00
Add admins
This commit is contained in:
parent
3d3831df02
commit
dfdec14419
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ function serverCmdClientMakeObserver(%client)
|
||||||
//10 second cooldown on becoming an observer
|
//10 second cooldown on becoming an observer
|
||||||
%timeDif = getSimTime() - %client.observerTimeout;
|
%timeDif = getSimTime() - %client.observerTimeout;
|
||||||
%timeDif1 = getSimTime() - %client.observerMsg;
|
%timeDif1 = getSimTime() - %client.observerMsg;
|
||||||
if(%timeDif > 10000 || !%client.observerTimeout || %client.isAdmin)
|
if(%timeDif > 10000 || !%client.observerTimeout || %client.isSuperAdmin)
|
||||||
{
|
{
|
||||||
%client.observerProtectStart = getSimTime();
|
%client.observerProtectStart = getSimTime();
|
||||||
%client.observerTimeout = getSimTime();
|
%client.observerTimeout = getSimTime();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue