Compact encoding disabled
#1

I'm currently trying to make a Float's default value -1.
So i know i can use a loop in OnGameModeInit to set it to -1:
pawn Код:
public OnGameModeInit() for(new i = 0; i < MAX_VEHICLES; i ++) Test[i] = -1;
But normally with a variable you can do it this way:
pawn Код:
new
    Float: Test[MAX_VEHICLES] = { -1, ... }
;
Although with a float, that gives warning 213: "tag mismatch".

So therefore i tried using -1.0:
pawn Код:
new
    Float: Test[MAX_VEHICLES] = { -1.0, ... }
;
Which gives warning 232: "output file is written, but with compact encoding disabled".
It makes the AMX file go from 3kb to 10kb, but apart from that, is there any other effects, or anything to worry about?
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: 1 Guest(s)