πServer Functions
install
To add nitrous to a vehicle from another resource
exports.rhd_nitrous:install(source, netId, type)source:
numbernetId:
integertype:
number1 | 2 | 3default colour
blue colour
red colour
setLevel
To adjust the nitrous level on a vehicle equipped with nitrous
exports.rhd_nitrous:setLevel(source, netId, level)source:
numbernetId:
integerlevel:
number
getLevel
To get the nitrous level on a vehicle that has been fitted with nitrous
netId:
integer
Last updated