16.12.2018, 20:38
The problem in these two is their faulty function syntax. If you want to select data, you specify a callback in mysql_tquery function. By using the cache functions, you retrieve them.
If you store them in global arrays, what is the point of querying the database?
If a player walks into an info symbol, isn't the one who should see the info? Why do you send in every player in range that is in any faction?
When selling a function, you should send an UPDATE query to change the value of the owner and not a SELECT query. The faction loops are unnecessary to both cases.
If you store them in global arrays, what is the point of querying the database?
If a player walks into an info symbol, isn't the one who should see the info? Why do you send in every player in range that is in any faction?
When selling a function, you should send an UPDATE query to change the value of the owner and not a SELECT query. The faction loops are unnecessary to both cases.