mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Fix for amb1545: show_activity was ignoring the last client
This commit is contained in:
parent
2a383feef6
commit
5e9e119c76
@ -234,7 +234,7 @@ stock show_activity( id, const name[], const fmt[], any:... )
|
||||
new __maxclients=get_maxplayers();
|
||||
|
||||
|
||||
for (new i=1; i<__maxclients; i++)
|
||||
for (new i=1; i<=__maxclients; i++)
|
||||
{
|
||||
if (is_user_connected(i))
|
||||
{
|
||||
@ -249,7 +249,7 @@ stock show_activity( id, const name[], const fmt[], any:... )
|
||||
{
|
||||
new __maxclients=get_maxplayers();
|
||||
|
||||
for (new i=1; i<__maxclients; i++)
|
||||
for (new i=1; i<=__maxclients; i++)
|
||||
{
|
||||
if (is_user_connected(i))
|
||||
{
|
||||
@ -264,7 +264,7 @@ stock show_activity( id, const name[], const fmt[], any:... )
|
||||
{
|
||||
new __maxclients=get_maxplayers();
|
||||
|
||||
for (new i=1; i<__maxclients; i++)
|
||||
for (new i=1; i<=__maxclients; i++)
|
||||
{
|
||||
if (is_user_connected(i))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user