OnDialogResponse is not working
#7

pawn Код:
format(stringx, sizeof(stringx), "strom_%d", listitem);
if(strval(dini_Get(soubor,stringx)) == 1){
No way that you're ever getting a usable value from that.
Basically, what you're doing is:

pawn Код:
strval("strom_0");
Which will just return .. Uh, I don't know what it will return, but it won't be a usable integer value anyway.

Edit: Disregard. I wasn't thinking right ..
Reply


Messages In This Thread
OnDialogResponse is not working - by kazlik - 13.11.2010, 06:14
Re: OnDialogResponse is not working - by [MWR]Blood - 13.11.2010, 06:18
Re: OnDialogResponse is not working - by kazlik - 13.11.2010, 16:13
Re: OnDialogResponse is not working - by Jakku - 13.11.2010, 17:19
Re: OnDialogResponse is not working - by kazlik - 13.11.2010, 17:46
Re: OnDialogResponse is not working - by The_Moddler - 13.11.2010, 18:05
Re: OnDialogResponse is not working - by Vince - 13.11.2010, 18:21
Re: OnDialogResponse is not working - by Jakku - 14.11.2010, 06:05

Forum Jump:


Users browsing this thread: 1 Guest(s)