Y_INI bool
#1

new bool:PIZDINKRYZIUPIRKT;
Код:
INI:filename[](name[], value[])
{
    
        PIZDINKRYZIUPIRKT = strval(value);
      
}
I get tag mismatch.
Reply
#2

new PIZDINKRYZIUPIRKT;
Reply
#3

But i need to write false, true value.
Reply
#4

But you storing value (strval(value)) to your bool variable.
Try this new PIZDINKRYZIUPIRKT[5];
Reply
#5

Or can i save as bool, and when am loading check if 1 then set to true, if 0 set to false
Reply
#6

http://forum.sa-mp.com/showpost.php?...5&postcount=16
Reply
#7

#define IntToBool(%1,%2) (%2=!!%1)

%2 new write a number 0 or 1 ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)