Ppgtjmad / SimpleShops

[HG] Simple Shops
27 stars 8 forks source link

my car Inventory empty. fn_setinventory.sqf 17line?? #37

Closed eroticcrow closed 6 years ago

eroticcrow commented 6 years ago

use extDB3

my car inventory empty.

After putting an item in my car inventory, if you spawn the vehicle again, the items will disappear from the inventory. It seems to be a problem in the process of loading the db.

plz check

"fn_setinventory.sqf" 17line "format["SELECT Inventory FROM HG_Vehicles WHERE WHERE PID = <-

HG_Vehicles WHERE WHERE PID ?? or HG_Vehicles WHERE PID

I modified both of them. But it does not work.

Ppgtjmad commented 6 years ago

Hello,

Yes my bad there was two WHERE... remove one and should be good.

Ppgtjmad commented 6 years ago

Related to this https://github.com/Ppgtjmad/SimpleShops/issues/39, closing.