How I should do this system?
#1

I'm working with house system and now it works like this:
Server loads houses and creates 3Dtexts. When you click F and you aren't in any vehicle server does Mysql query to see if you are near to any entry into house.
Should I save everything into variables or doing query everytime is ok? It's my first gamemode and I don't know if it won't lag.
Reply
#2

Save everything into a 2D enumerator array. Executing queries all of the time isn't that overall efficient, and it could slow down your overall server performance.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)