Exports
Exports - Client
isHandcuffed - Returns true if the localplayer is handcuffed.
exports['lunar_interactions']:isHandcuffed()isDragged - Returns true if the localplayer is dragged.
exports['lunar_interactions']:isDragged()steal - Opens the target player inventory.
exports['lunar_interactions']:steal(targetPed) -- Pass in the target player ped handcuff - Handcuffs the player with handcuffs/zipties.
exports['lunar_interactions']:handcuff(targetPed) -- Pass in the target player ped drag - Drag the handcuffed player.
if IsPedCuffed(targetPed) then -- Check if the target ped is handcuffed
exports['lunar_interactions']:drag(targetPed) -- Pass in the target player ped
endcarry - Used to carry a player on your shoulder.
exports['lunar_interactions']:carry(targetPed) -- Pass in the target player pedtake_hostage- Takes the target player as a hostage.
exports['lunar_interactions']:take_hostage(targetPed) -- Pass in the target player pedput_in_vehicle- Puts the dragged player to the target vehicle.
out_the_vehicle- Takes the last cuffed player out of the vehicle.
hijack- Unlocks the target vehicle.
repair- Repairs the target vehicle.
clean- Cleans the target vehicle.
impound- Impounds the target vehicle (Deletes it basically)
Exports - Server
uncuff- Uncuffs the target player.
getPlayerDragState - Gets the drag state of the target player.
setPlayerDragState - Sets the drag state of the target player and syncs with the client.
getPlayerHandcuffedState - Gets the handcuffed state of the target player.
setPlayerHandcuffedState - Sets the handcuffed state of the target player and syncs with the client.
Last updated