Posts: 534
Threads: 265
Joined: Jul 2014
new bool:PIZDINKRYZIUPIRKT;
Код:
INI:filename[](name[], value[])
{
PIZDINKRYZIUPIRKT = strval(value);
}
I get tag mismatch.
Posts: 534
Threads: 265
Joined: Jul 2014
But i need to write false, true value.
Posts: 637
Threads: 106
Joined: May 2011
Reputation:
0
But you storing value (strval(value)) to your bool variable.
Try this new PIZDINKRYZIUPIRKT[5];
Posts: 534
Threads: 265
Joined: Jul 2014
Or can i save as bool, and when am loading check if 1 then set to true, if 0 set to false
Posts: 534
Threads: 265
Joined: Jul 2014
#define IntToBool(%1,%2) (%2=!!%1)
%2 new write a number 0 or 1 ?