This is similar to what esx_handcuffs does. Just diffrent ways of getting loose and animation(hopefully if i can find the correct one) So the code itself on the animationside could be improved. This is meant for civillians but can also be used police. The items added threw the use of the SQL included is knife and cableties. The knife is used to unlock/cut the cableties.
-
There is an SQL in the folder that adds the items to be used(cableties and knife) and also inserts into DB:
shops
But the SQL is just a basic setup so more "shops" should be added to it(EDIT) -
PNGS should be added to html/img of esx_shops. And same if your are using esx_inventoryhud Remeber to add them in each __resource.lua to show inventory and shop images.
-
Whats left is adding "start pro_cableties" to your server.cfg
-
This is the first release of this so the code could be improved upon.
- I have successfully cabletied someone with this. But at the moment the knife would not work. I have made some minor changes after that so they might work now. Have not tested after latest tweak.
Feel free to change the code. The thing with this code is that you can multiply it into anything. You could
Legal License
pro_cableties Copyright (C) 2019 Raidfire
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.
You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.