Bool in enum.
#10

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
I have your solution, whats the point of ignoring it?
It's not that I'm ignoring your solution, I'm trying to understand it and see how it works. Tried what you said and I get the next errors:

Quote:

(797) : error 022: must be lvalue (non-constant)
(797) : warning 215: expression has no effect
(797) : error 001: expected token: ";", but found ")"
(797) : error 029: invalid expression, assumed zero
(797) : fatal error 107: too many error messages on one line

Line 797: INI_Int("AdminDuty", IntToBool(strval(value), P_DATA[playerid][pADuty]));

ps: Tested it without your solution and it seems to work well, even if I get that warning, about tag mismatch. Now I need to get rid of that warning.
Reply


Messages In This Thread
Bool in enum. - by antonio112 - 04.11.2011, 23:52
Re: Bool in enum. - by Vince - 05.11.2011, 00:05
Re: Bool in enum. - by Kush - 05.11.2011, 00:06
Re: Bool in enum. - by antonio112 - 05.11.2011, 00:16
Re: Bool in enum. - by steki. - 05.11.2011, 00:22
Re: Bool in enum. - by Lorenc_ - 05.11.2011, 00:22
Re: Bool in enum. - by Kush - 05.11.2011, 00:59
Re: Bool in enum. - by antonio112 - 05.11.2011, 01:06
Re: Bool in enum. - by Lorenc_ - 05.11.2011, 01:13
Re: Bool in enum. - by antonio112 - 05.11.2011, 01:17

Forum Jump:


Users browsing this thread: 1 Guest(s)