Jump to content

[HELP] Can't get data from shared table


JAY.ANN

Recommended Posts

----SHARED SCRIPT----
customVehicleTable = {
[558] = {name = "Mitsubishi Eclipse GS-T", cost = 25000},
}

----SERVER SIDE SCRIPT----
local nameveh, cost = customVehicleTable( 558 )

----DEBUGSCRIPT----
server.lua:30: attempt to call global 'customVehicleTable' (a table value)

Solved, thank you?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...