#4

pawn Код:
#define StringToBool(%1)        (strcmp(%1, "true", true) == 0)
Just one idea, there might be other ways to do it.
Reply


Messages In This Thread
bool - by Gh0sT_ - 08.03.2011, 12:15
Re: bool - by tuuker - 08.03.2011, 12:21
Re: bool - by Gh0sT_ - 08.03.2011, 12:22
Re: bool - by Mauzen - 08.03.2011, 12:37

Forum Jump:


Users browsing this thread: 3 Guest(s)