So I am trying to get the shipment data. No luck so far.
Weird thing is all the shipments I spawn have an ENT Index of 0.
I save the table to a file so there isn’t a problem in actually reading the table.
I tried getting
Not sure what to do. The shipments I spawn are the ones I buy in the F4 menu.
Some screenshots of the code
Update* It seems the problem is that all my entities all have the Ent Index of 0. I don’t know why. Anyone have this problem before?
Update* Every entity does show the unique ID when I print out tostring(ent).
But there is no index whenever I do tostring(ent.EntIndex)