General Exports
Last updated
-- Remove all ropes from player with ID 18
exports['r_bolawrap']:RemoveRopes(18)
-- Set recharge (ammo) of the Bolawrap device to 2
exports['r_bolawrap']:SetRecharge(2)
-- Check the rope state of the player with ID 15
local ropeState = exports['r_bolawrap']:IsBolawrap(15)
if ropeState == 'both' then
print("Player is fully tied!")
elseif ropeState == 'upper' then
print("Player's upper body is restrained.")
elseif ropeState == 'lower' then
print("Player's legs are tied.")
else
print("Player is free.")
end