vRP resource Conversions


#1

Hello

I am trying to convert a resource meant for ELS to vRP. I have changed and updated what needs to be updated in the script but I am just having issues getting the script to connect to vRP. When I add linking for client side, I get this error:

Error loading script sv_delivery.lua in resource vrp_delivery: sv_delivery.lua:4: attempt to index a nil value (global ‘Proxy’)

My code looks like this:

vRP = Proxy.getInterface(“vRP”)

And in resources.lua:

client_scripts {
@vrp/client/Proxy.lua’
}

When I try to add for server side I get this error:

Error loading script sv_delivery.lua in resource vrp_delivery: sv_delivery.lua:4: attempt to call a nil value (global ‘require’)

The code looks like this:

local Proxy = require(“resources/vRP/lib/Proxy”)
vRP = Proxy.getInterface(“vRP”)

Any ideas?
Thanks in advance