Posts: 207
Threads: 23
Joined: May 2011
Reputation:
0
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?
Posts: 472
Threads: 26
Joined: Jan 2012
Reputation:
0
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
Posts: 404
Threads: 26
Joined: Jan 2010
Reputation:
0
Yes, indeed it does get called when ANY dialog is called. You could simply add those lines under the dialog that actually needs them.
Posts: 207
Threads: 23
Joined: May 2011
Reputation:
0
Ok, thanks, just as i thought!