Compact encoding disabled
#3

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
hmm it doesn't give me any tag mismatch error while compiling with this :
Код:
new
    Float: Test[MAX_VEHICLES] = { -1, ... }
;
But you can use _: to avoid tag mismatch error with -1 like this :
It gives you a warning (if you use it) & you can't avoid it with _: xD

You must do it like this:

Код:
new Float:Test[MAX_VEHICLES];

public OnGameModeInit()
{
    for(new i; i<sizeof(Test); i++) Test[i] = -1.0;
    return 1;
}
PS: If you want to avoid the warning from this code:

Код:
new Float:Test[MAX_VEHICLES] = { -1.0, ...};
Write this above:

Код:
#pragma compress 0
Greekz
Reply


Messages In This Thread
Compact encoding disabled - by CalvinC - 31.03.2015, 09:30
Re: Compact encoding disabled - by BroZeus - 31.03.2015, 12:51
AW: Re: Compact encoding disabled - by Kaliber - 31.03.2015, 13:07
Re: Compact encoding disabled - by CalvinC - 31.03.2015, 13:41

Forum Jump:


Users browsing this thread: 2 Guest(s)