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

    GetTable
    Keyvalues
    SaveTable
    Etc.

    Not sure what to do. The shipments I spawn are the ones I buy in the F4 menu.

    Some screenshots of the code

    [​IMG]
    https://gyazo.com/fba660f1a3ca85c54fa528513b55da60

    [​IMG]

    https://gyazo.com/67cafb38f9e7067d21f3b45f75e09a75

    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