Warning

Započeo Fergosonn
12. Apr. 2021.
733
pregleda
3
postova
Fergosonn
4
Made Man
12. Apr. 2021.
C:\Users\Klinac\Desktop\New Folder(1)\treasure\gamemodes\TR.pwn(495) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size:          5936 bytes
Code size:          214052 bytes
Data size:          233912 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:  470284 bytes

1 Warning.

Kod
forward SendAdminMessage(color, string[]);
public SendAdminMessage(color, string[])
{
foreach(Player,i)
{
if(PlayerInfo >= 1)
{
SendClientMessage(i, color, string);
}
}
}
Lexy
5
Underboss
12. Apr. 2021.
pokusaj ovako
FUNCTION: AdminMessage( color, string[] )
{
    for( new i = 0; i < MAX_PLAYERS; i++)
{
if( IsPlayerConnected( i ) )
{
    if( PlayerInfo[ i ][ pAdmin ] >= 1 || IsPlayerAdmin( i ) )
{
SCM( i, color, string );
}
}
}
    return true;
}
Fergosonn
4
Made Man
12. Apr. 2021.
Leʞรa wrote on April 12, 2021, 9:58 am:
pokusaj ovako
FUNCTION: AdminMessage( color, string[] )
{
    for( new i = 0; i < MAX_PLAYERS; i++)
{
if( IsPlayerConnected( i ) )
{
    if( PlayerInfo[ i ][ pAdmin ] >= 1 || IsPlayerAdmin( i ) )
{
SCM( i, color, string );
}
}
}
    return true;
}

resio sam al sam zaboravio da Loc hvala u svakom slucaju

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha