Ambiguous number of employees, using an enum?
#6

Quote:
Originally Posted by Neil.
Посмотреть сообщение
That enlightened it up fairly well. Just a while ago I did that for my Houses (where I would show the player the houses he owned.) instead of looping over 300 houses, I just did a query and it executed around 50ms. I don't know if that would hold up for a thousand of them though.
50ms is actually A LOT of time for a query to execute! Either your code is really inefficient or your database is not on the same machine as your samp-server..
Reply


Messages In This Thread
Ambiguous number of employees, using an enum? - by Neil. - 21.10.2014, 06:59
Re: Ambiguous number of employees, using an enum? - by AmigaBlizzard - 21.10.2014, 11:04
Re: Ambiguous number of employees, using an enum? - by Neil. - 21.10.2014, 11:12
Re: Ambiguous number of employees, using an enum? - by EnforcerDon - 21.10.2014, 12:11
Re: Ambiguous number of employees, using an enum? - by Neil. - 21.10.2014, 13:18
Re: Ambiguous number of employees, using an enum? - by Anzipane - 21.10.2014, 16:43
Re: Ambiguous number of employees, using an enum? - by iZN - 21.10.2014, 16:52
Re: Ambiguous number of employees, using an enum? - by Neil. - 22.10.2014, 01:58

Forum Jump:


Users browsing this thread: 1 Guest(s)