Is this loop called everytime?
#1

Okay, so I have right under public OnDialogResponse a new houseid = GetHouse(playerid); That "GetHouse(playerid)" is a loop to get house ID's. So my question: is that loop getting called every single time, that any dialog gets opened?
Reply
#2

well if you kept it just under it but you would have done your house id thing in a single dialog response not ever dialogs so it will be called when you response to the given dialog,if you get it what i say
Reply
#3

Yes, indeed it does get called when ANY dialog is called. You could simply add those lines under the dialog that actually needs them.
Reply
#4

Ok, thanks, just as i thought!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)