The-Programmer Forum

Maxence a écrit le dernier message :
#2
Hello, there is no function in Interpol that allows you to do this. So I'll help you to create it.

In your mission -> CfgRemoteExec.hpp, add the following line :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !

In your life_server -> config.cpp, below :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !
add this class :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !

Then in your life_server -> Functions -> Systems, create a file fn_deletePlayerCrimes.sqf with :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !

You'll now be able to use this function to delete the crimes of the player in the (mission) script file you want using this function :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !