15.12.2019, 18:29
Quote:
Hello, when I use my command "/v stats" on my vehicle create with "/v add" I don't have a return with stats.
But when I reboot my server, "/v stats" is work I think I have a problem with reload vehicle after create a new vehicle, but I don't know how make And if I need to reboot my server every time I create a new vehicle, it's annoying Create Vehicle function https://pastebin.com/C94RCQHZ |
It would be helpful with some code of what /v stats look like. It would also be nice to see the lines from where callback SQL_CallVehicleCreate(playerid, model, Float, Float:y, Float:z, Float:a, color1, color2) is called from.
The thing is, we can't really know how you retrieve the /v stats. Is it fetched from the DB directly when you do /vstats, or have you already fetched the data to memory?