Witam.
Posiadam taki kod:
#define CZAS 0
//(...)
public Terror(id)
{
if(CZAS == 0) // w tej linijce wyskakuje ostrzeżenie: redundant test: constant expression is non-zero
{
//funkcja 1
}
else
{
//funkcja 2
set_task(CZAS.0, "SledzOfiare")
}
}
Jak ominąć te ostrzeżenie nie używając "new const"?


Dodatki SourceMod




Temat jest zamknięty








