Exports

getLab()

If player is inside a lab it will return the lab identifier or false if is outside.

local lab = exports['av_drugs']:getLab()
if lab then
    print(lab)
else
    print("Player isn't inside a lab")
end

Last updated