23.12.2013, 09:41
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.
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.