1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

Trying to get shipment Table Data

Discussion in 'DarkRP Modding Questions & Help' started by NoOriginality, Sep 29, 2016.

  1. NoOriginality

    NoOriginality Member

    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)
    Last edited: Sep 30, 2016

Share This Page