First, I'd like to thank you guys for your very useful tips and advices!
Now I want to ask some additional questions. Let's begin.
I'm an owner of Roleplay server, so I use MySQL for saving data. You know that there is a lot of information about players, vehicles and so on. I've been using "UPDATE" statements very often before I read what you wrote. "SELECT" queries I use only on login and on a resource start events. Then I set the returned data to the tables. I also have one db-connection and shared it with other resources. So, my questions are:
1. How often do I need to use UPDATE statements, e.g. for backup saving player data while he's online every 15 mins (I used this every 1 min!)?
2. Do I need to use callback function in my SELECT query to disable freezeing the whole server or use timeout parameter -1 in dbPoll anyway?
Yes, I use return fot that.
Never used this useful function before, thank you again! Will try!
Did that too, but it's hard to do with players, especially on render.
I use many colshapes with key binds. E.g., if a player press some button being within the colshape something happens. What is the best way to do that taking into account that there might be a lot of places where you need to activate something with button?
As to fuel systems I even need to synchronize fuel state of a vehicle not only with a driver, so I have to use element data for that. Any other solution?
Thanks in advance for replies!