09.06.2015, 15:44
It is somewhat correct, though return 0 at the end of the callback and return 1 in the dialogs above (after showing another dialog or creating the vehicle and putting the player in it) so it will not pass the dialogid to another script if it has already been found.
First of all, use different dialog IDs as they may confict with other dialogs.
Last, check all the other scripts that return 0 (is a must) at the end of OnDialogResponse callback otherwise it won't be called in that current script at all.
It doesn't need a value if you directly assign the string with it.
First of all, use different dialog IDs as they may confict with other dialogs.
Last, check all the other scripts that return 0 (is a must) at the end of OnDialogResponse callback otherwise it won't be called in that current script at all.
It doesn't need a value if you directly assign the string with it.