English Solved Marking crimes as paid when a player pays bail in jail

LogicLion

User
5/1/21
14
5
250
When a player pays bail in default Altis Life it removes all his crimes.

After a chat with Maxance about Interpol, and being able to remove a crime if he pays bail or, mark as paid.

I would like it if once a player pays bail in jail, his crimes are marked as paid.
 
Solution
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 !

Maxence

Admin
Membre du personnel
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 !
 
  • Like
  • Heart
Les réactions: BastienWolf et LogicLion
Solution
Activité
Pour l'instant, il n'y a personne ici