pBlueG / SA-MP-MySQL

MySQL plugin for San Andreas Multiplayer
BSD 3-Clause "New" or "Revised" License
196 stars 78 forks source link

[ERROR] invalid orm id #253

Open MtPlayerZ opened 3 years ago

MtPlayerZ commented 3 years ago

It is my first time using the plugin and I am getting a flood of errors in the "mysql.log" file. Most errors are: "orm_destroy: invalid orm id (number)" and "orm_update: invalid orm id (number)".

In the places where I used "orm_destroy" I did the following check: if (PlayerInfo [playerid] [OrmID]! = MYSQL_INVALID_ORM) orm_destroy (PlayerInfo [playerid] [OrmID]);

but I still get errors in this function.

Would you be able to tell me if it could be a fault when I program or if it is with the plugin, vps or something?

ps: sorry for the bad english, i'm using the translator.

Captura de tela 2021-03-21 131223