Is this loop called everytime?

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?

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

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

Ok, thanks, just as i thought!

Forum Jump:

Users browsing this thread: 1 Guest(s)