Improved the teleporter. Startup delay, cooldown, separate team delays and limits. Admin commands made, but not coded yet.
This commit is contained in:
@ -45,9 +45,12 @@ public Action:SayCommand(client, argc)
|
||||
ZSpawn(client);
|
||||
}
|
||||
|
||||
else if (StrEqual(args, "!ztele", false))
|
||||
else if (StrEqual(args, "!tp", false) ||
|
||||
StrEqual(args, "!ztele", false) ||
|
||||
StrEqual(args, "!tele", false) ||
|
||||
StrEqual(args, "!teleport", false))
|
||||
{
|
||||
ZTele(client);
|
||||
ZTeleClientCheck(client);
|
||||
}
|
||||
|
||||
else if (StrEqual(args, "!zstuck", false))
|
||||
@ -59,6 +62,12 @@ public Action:SayCommand(client, argc)
|
||||
{
|
||||
ZHP(client);
|
||||
}
|
||||
else if (StrContains(args, "teleport", false) != -1
|
||||
|| StrContains(args, "stuck", false) != -1
|
||||
|| StrContains(args, "help", false) != -1)
|
||||
{
|
||||
ZR_PrintToChat(client, "!ztele stuck");
|
||||
}
|
||||
|
||||
return Plugin_Continue;
|
||||
}
|
||||
@ -217,6 +226,7 @@ ZSpawn(client)
|
||||
AddPlayerToList(client);
|
||||
}
|
||||
|
||||
/*
|
||||
ZTele(client)
|
||||
{
|
||||
new bool:tele = GetConVarBool(gCvars[CVAR_ZTELE]);
|
||||
@ -269,6 +279,7 @@ public Action:Teleport(Handle:timer, any:index)
|
||||
|
||||
tHandles[index][TTELE] = INVALID_HANDLE;
|
||||
}
|
||||
*/
|
||||
|
||||
ZStuck(client)
|
||||
{
|
||||
|
Reference in New Issue
Block a user