This tutorial will allow you to add a function so that only "Cop" can open/close doors.
___________________________________
Installation
- Go to the root of your mission then core/cop
- Create a file fn_lockCop.sqf
- In this file add the following code:
S’il vous plaît,
Connexion
ou
S'inscrire pour voir le code !
- Go to your Functions.hpp at the root of your mission and add this
S’il vous plaît,
Connexion
ou
S'inscrire pour voir le code !
- Go to your mapping and add this code to the object you want to block
S’il vous plaît,
Connexion
ou
S'inscrire pour voir le code !
- For those who want to do the close/open with an object Y here is the code
Dernière édition par un modérateur: