24.01.2016, 15:56
Hi, i recently came across to some problem regarding dialogs.
For example, i'm using fdialog system, and there fore some bugs appeared.
Let's say you call command to sell something, and other player is offered to accept or deny via dialog BOX.
the part of code with (response) { CODE } WORKS. however the part with (!response) { } DOESN'T WORK AT ALL, not even if i printf/debug.
if(response)
{
CODE FOR SELLING IF HE PRESS ACCEPT (WORKS)
}
if(!response)
{
CODE FOR SELLING IF HE PRESS DENY(DOESN't CALL at all)
}
Please help.. Its fdialog system.. i tryed every single option.. even swapped positions of responses, tryed else if, maybe wrong coordination..
For example, i'm using fdialog system, and there fore some bugs appeared.
Let's say you call command to sell something, and other player is offered to accept or deny via dialog BOX.
the part of code with (response) { CODE } WORKS. however the part with (!response) { } DOESN'T WORK AT ALL, not even if i printf/debug.
if(response)
{
CODE FOR SELLING IF HE PRESS ACCEPT (WORKS)
}
if(!response)
{
CODE FOR SELLING IF HE PRESS DENY(DOESN't CALL at all)
}
Please help.. Its fdialog system.. i tryed every single option.. even swapped positions of responses, tryed else if, maybe wrong coordination..