Added additional client checks before spawning on spawn all command.
This commit is contained in:
parent
99373d5720
commit
222d13643a
@ -355,7 +355,10 @@ ZRSpawnAll(client)
|
|||||||
{
|
{
|
||||||
for (new c = 1; c < maxclients; c++)
|
for (new c = 1; c < maxclients; c++)
|
||||||
{
|
{
|
||||||
ZSpawn(c);
|
if (IsClientConnected(c) && IsClientInGame(c))
|
||||||
|
{
|
||||||
|
ZSpawn(c);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ZRAdminMenu(client);
|
ZRAdminMenu(client);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user