Exports

Server Side

Create recycler from another script

-- ownerIdentifier -> owner unique ID (ex: citizenid)
-- id -> a unique ID for the bench (ex: mechanic_bench_3434342)
-- coords -> vector3
-- heading -> number
exports['cf-recycler']:Register(ownerIdentifier, id, coords, heading)

Delete recycler from another script

-- id -> recycler id, created in Register
exports['cf-recycler']:Delete(id)

Last updated