Hot to speed up this function
#4

The only other way I can think of is after the player logins, execute the code from that function once to see if the player has any house and store the result to a variable (global per-player). When the player buys a house, increase by one and when he sells it, decrease by one.
Reply


Messages In This Thread
Hot to speed up this function - by ATomas - 13.05.2016, 11:26
Re: Hot to speed up this function - by BiosMarcel - 13.05.2016, 11:33
Re: Hot to speed up this function - by ATomas - 13.05.2016, 11:35
Re: Hot to speed up this function - by Konstantinos - 13.05.2016, 11:44
Re: Hot to speed up this function - by ATomas - 13.05.2016, 11:46
Re: Hot to speed up this function - by Konstantinos - 13.05.2016, 12:01
Re: Hot to speed up this function - by ikey07 - 13.05.2016, 12:13
Re: Hot to speed up this function - by ATomas - 13.05.2016, 12:15
Re: Hot to speed up this function - by Konstantinos - 13.05.2016, 12:29
Re: Hot to speed up this function - by ATomas - 13.05.2016, 12:36
Re: Hot to speed up this function - by Konstantinos - 13.05.2016, 12:41
Re: Hot to speed up this function - by ATomas - 13.05.2016, 12:43
Re: Hot to speed up this function - by PrO.GameR - 13.05.2016, 14:27
Re: Hot to speed up this function - by Crayder - 13.05.2016, 16:04

Forum Jump:


Users browsing this thread: 1 Guest(s)