Jump to content
Deadlesszombie

[4.4] Prison Clothes

Recommended Posts

14 hours ago, DesusaED said:

Hi tanks man i will add it like this. what uniform mod are you using jamie_prison ?

Not too sure. One of my buddies gave me mods to use and it was in the clothing options.  Ill look after a bit and see!

  • Like 1

Share this post


Link to post
Share on other sites
33 minutes ago, Deadlesszombie said:

Beh, avresti bisogno del nome di classe della divisa e dovrebbe funzionare senza problemi

could you give me an example?For example, I said in the jailme file to use the U_C_Scientist uniform, but how do I recall the skin I made in the Textures folder?

because if I send someone to prison in this way the uniform is not skinned but the default weapon is applied
 

  1. //Begin jail uniform
  2. hint "Il tuo equipaggiamento è stato inserito nell' armadietto delle prove!";
  3. old_gear = getUnitLoadout player;
  4. removeUniform player;
  5. removeHeadgear player;
  6. removeVest player;
  7. removeGoggles player;
  8. removeBackpack player;
  9. removeallWeapons player;
  10. removeallAssignedItems player;
  11. player addUniform "U_C_Scientist";

Share this post


Link to post
Share on other sites
1 hour ago, Federick90 said:

could you give me an example?For example, I said in the jailme file to use the U_C_Scientist uniform, but how do I recall the skin I made in the Textures folder?

because if I send someone to prison in this way the uniform is not skinned but the default weapon is applied
 

  1. //Begin jail uniform
  2. hint "Il tuo equipaggiamento è stato inserito nell' armadietto delle prove!";
  3. old_gear = getUnitLoadout player;
  4. removeUniform player;
  5. removeHeadgear player;
  6. removeVest player;
  7. removeGoggles player;
  8. removeBackpack player;
  9. removeallWeapons player;
  10. removeallAssignedItems player;
  11. player addUniform "U_C_Scientist";

You probably have a playerSkins error

Share this post


Link to post
Share on other sites
14 hours ago, Deadlesszombie said:

Probabilmente hai un errore playerSkins

I do not think the problem is here because if the inmate is killed and revived by a doctor the skin created by me is loaded ... but if I send someone to prison the skin is not applied and the default weapon uniform is applied without skin
 

https://pastebin.com/TTDDN6GW my playerskin

https://pastebin.com/iMSfLJ9b my JailMe

17 ore fa, Deadlesszombie ha detto:

Beh, avresti bisogno del nome di classe della divisa

potresti darmi un esempio? Ad esempio, ho detto nel file jailme di usare l'uniforme U_C_Scientist, ma come posso richiamare la skin che ho creato nella cartella Textures?

perché se mando qualcuno in prigione in questo modo l'uniforme non è spellata ma viene applicata l'arma predefinita
 

  1. // Inizia l'uniforme della prigione
  2. suggerimento "Il tuo equipaggiamento è stato inserito nell'armadio delle prove!";
  3. old_gear = getUnitLoadout player;
  4. removeUniform player;
  5. removeHeadgear player;
  6. removeVest player;
  7. removeGoggles player;
  8. removeBackpack player;
  9. removeallWeapons player;
  10. removeallAssignedItems player;
  11. giocatore addUniform "U_C_Scientist";

Share this post


Link to post
Share on other sites
4 hours ago, Federick90 said:

I do not think the problem is here because if the inmate is killed and revived by a doctor the skin created by me is loaded ... but if I send someone to prison the skin is not applied and the default weapon uniform is applied without skin
 

https://pastebin.com/TTDDN6GW my playerskin

https://pastebin.com/iMSfLJ9b my JailMe

potresti darmi un esempio? Ad esempio, ho detto nel file jailme di usare l'uniforme U_C_Scientist, ma come posso richiamare la skin che ho creato nella cartella Textures?

perché se mando qualcuno in prigione in questo modo l'uniforme non è spellata ma viene applicata l'arma predefinita
 

  1. // Inizia l'uniforme della prigione
  2. suggerimento "Il tuo equipaggiamento è stato inserito nell'armadio delle prove!";
  3. old_gear = getUnitLoadout player;
  4. removeUniform player;
  5. removeHeadgear player;
  6. removeVest player;
  7. removeGoggles player;
  8. removeBackpack player;
  9. removeallWeapons player;
  10. removeallAssignedItems player;
  11. giocatore addUniform "U_C_Scientist";

I do not understand anything you just said but logically it does not make sense for why it would not work, have the playerSkins called after a few seconds or something

Edited by Deadlesszombie

Share this post


Link to post
Share on other sites
13 hours ago, Deadlesszombie said:

I do not understand anything you just said but logically it does not make sense for why it would not work, have the playerSkins called after a few seconds or something

I have a skin on the textures folder to be applied to the U_C_Scientist uniform and it has been set in the player's skin
if I send someone to prison the texture that I did with phoshop is not loaded but the prisoner is assigned the uniform without skin
 

Share this post


Link to post
Share on other sites
3 hours ago, Federick90 said:

I have a skin on the textures folder to be applied to the U_C_Scientist uniform and it has been set in the player's skin
if I send someone to prison the texture that I did with phoshop is not loaded but the prisoner is assigned the uniform without skin
 

You need to add:

[] call life_fnc_playerSkins;

After you put the uniform on them to actually run that script and set the texture.

Share this post


Link to post
Share on other sites
8 hours ago, imthatguyhere said:

You need to add:

[] call life_fnc_playerSkins;

After you put the uniform on them to actually run that script and set the texture.

if I check the pastebin I published above I have already inserted the function [] call life_fnc_playerSkins; in the jailMe file but it does not work where I'm wrong?

https://pastebin.com/TTDDN6GW

https://pastebin.com/iMSfLJ9b

Share this post


Link to post
Share on other sites
14 hours ago, Federick90 said:

if I check the pastebin I published above I have already inserted the function [] call life_fnc_playerSkins; in the jailMe file but it does not work where I'm wrong?

https://pastebin.com/TTDDN6GW

https://pastebin.com/iMSfLJ9b

That looks fine to me at a glance. You could try doing the setobjecttextureglobal in the jailme file to test to see if it works right.

Share this post


Link to post
Share on other sites
2 minutes ago, imthatguyhere said:

Mi sembra a prima vista. Si può provare a fare il setobjecttextureglobal nel file jailme per verificare se funziona correttamente.

could you give me an example on how to set it? because I do not know what to try to make it work anymore
 

Share this post


Link to post
Share on other sites
4 minutes ago, Federick90 said:

could you give me an example on how to set it? because I do not know what to try to make it work anymore
 

The line from your playerskins (setObjectTextureGlobal).

Share this post


Link to post
Share on other sites
21 hours ago, imthatguyhere said:

The line from your playerskins (setObjectTextureGlobal).

I do not know how to solve .. if you can help me fix the paste bin that I published I would be grateful, it will be that I insert it badly
 

Share this post


Link to post
Share on other sites
On 16/09/2017 at 14:23, Deadlesszombie said:

Nome do autor: Neil Smith / Deadlesszombie

Dificuldade:  Fácil

Finalidade do Script: Ao ser preso, o antigo loadout do player é salvo, então todos os itens são removidos do player e o uniforme da prisão é designado. Se o jogador escapar da prisão, o equipamento não for devolvido, se pagar a fiança ou o tempo todo, receberá sua roupa de volta!

VOCÊ TAMBÉM PRECISARÁ DE SUAS PRÓPRIAS ROUPAS, 

"player addUniform" COLOCAR UM UNIFORME PARA A CADEIA AQUI !!!!! ";"

Vá para MissionFile \ core \ civillian \ fn_jailMe.sqf adicione este direito em 

#include ".. \ .. \ script_macros.hpp"
/ *
 Autor Bryan "Tonic" Boardwine
 Descrição:
 Uma vez recebida a palavra pelo servidor, o restante da execução da cadeia é completada.
 Editado por Neil Smith
* /
private ["_ time", "_ bail", "_esc", "_ countDown"];
params [
 ["_ret", [], [[]]],
 ["_bad", falso, [falso]],
 ["_time", 15, [0]]
];

coloque isso sob ele:

certifique-se de substituir "player addUniform" PÔR SEU UNIFORME PARA A CADEIA AQUI !!!!! ";"

Agora você deve ter isto:


Agora role para baixo e adicione isto para cada função de caso, dependendo se você quer que os jogadores recebam seus equipamentos em que caso.

(Nota: case_bail significa que eles pagaram a fiança e agora estão livres, caso _esc significa que eles escaparam da prisão, e case! _Esc &&! _Bail significa que eles passaram o tempo todo na prisão)

 

 

Um exemplo do que você deve ter dependendo de como você quer:

 

Exemplo de script completo se você estiver completamente perdido

  Revelar conteúdos ocultos

#include "..\..\script_macros.hpp"
/*
 Author Bryan "Tonic" Boardwine
 Description:
 Once word is received by the server the rest of the jail execution is completed.
 Edited by Neil Smith
*/
private["_time","_bail","_esc","_countDown"];
params [
 ["_ret",[],[[]]],
 ["_bad",false,[false]],
 ["_time",15,[0]]
];

//Begin jail uniform
hint "Your gear has been placed in the evidence locker!";
old_gear = getUnitLoadout player;
removeUniform player;
removeHeadgear player;
removeVest player;
removeGoggles player;
removeBackpack player;
removeallWeapons player;
removeallAssignedItems player;
player addUniform "PUT YOUR UNIFORM FOR JAIL HERE!!!!!";

_time = time + (_time * 60);
if (count _ret > 0) then { life_bail_amount = (_ret select 2); } else { life_bail_amount = 1500; };
_esc = false;
_bail = false;
if(_time <= 0) then { _time = time + (15 * 60); hintC "Please Report to Admin: JAIL_FALLBACK_15, time is zero!"; };
[_bad,_time] spawn {
 life_canpay_bail = false;
 life_bail_amount = life_bail_amount * 5;
 if(_this select 0) then {
 sleep ( (_this select 1) * 0.5 );
 } else {
 sleep ( (_this select 1) * 0.2 );
 };
 life_canpay_bail = nil;
};
while {true} do {
 if((round(_time - time)) > 0) then {
 _countDown = if(round (_time - time) > 60) then {format["%1 Minute(s)",round(round(_time - time) / 60)]} else {format["%1 Second(s)",round(_time - time)]};
 if(isNil "life_canpay_bail") then {
 hintSilent format["Time Remaining:\n %1\n\nCan pay Bail: %3\nBail Amount: $%2",_countDown,[life_bail_amount] call life_fnc_numberText, "dass"];
 } else {
 hintSilent format["Time Remaining:\n %1\n",_countDown];
 };
 };
 if(player distance (getMarkerPos "jail_marker") > 300) exitWith {
 _esc = true;
 };
 if(life_bail_paid) exitWith {
 _bail = true;
 };
 if((round(_time - time)) < 1) exitWith {hint ""};
 if(!alive player && ((round(_time - time)) > 0)) exitWith {};
 sleep 1;
};


switch (true) do {
 case (_bail): {
 life_is_arrested = false;
 life_bail_paid = false;
 hint localize "STR_Jail_Paid";
 serv_wanted_remove = [player];
 player setPos (getMarkerPos "civ_spawn_1");
 [getPlayerUID player] remoteExecCall ["life_fnc_wantedRemove",RSERV];
 hint "Because you have paid your bail, you will recieve your clothing shortly";
 player setUnitLoadout old_gear;
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
 case (_esc): {
 life_is_arrested = false;
 hint localize "STR_Jail_EscapeSelf";
 [0,"STR_Jail_EscapeNOTF",true,[profileName]] remoteExecCall ["life_fnc_broadcast",RCLIENT];
 [getPlayerUID player,profileName,"901"] remoteExecCall ["life_fnc_wantedAdd",RSERV];
 hint "Because you escaped from jail, the jail guards have placed your gear in the trash";
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
 case (alive player && !_esc && !_bail): {
 life_is_arrested = false;
 hint localize "STR_Jail_Released";
 [getPlayerUID player] remoteExecCall ["life_fnc_wantedRemove",RSERV];
 player setPos (getMarkerPos "civ_spawn_1");
 player setUnitLoadout old_gear;
 hint "Because you have done your time in prison, you will recieve your clothing shortly";
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
};

 

Um agradecimento especial a @DesusaED  e @TwisT  Por confirmar e ajudar-me a corrigir um problema

How to remove money from the imprisoned player? I want to remove only the money in his hand. I do not want to remove the money from the bank.

Share this post


Link to post
Share on other sites
16 hours ago, artur_op said:

How to remove money from the imprisoned player? I want to remove only the money in his hand. I do not want to remove the money from the bank.

Life_cash = 0;

?????????

Share this post


Link to post
Share on other sites
On 9/16/2017 at 2:23 PM, Deadlesszombie said:

Author Name: Neil Smith / Deadlesszombie

Difficulty: Easy

Purpose of Script: Upon being jailed, the old loadout of the player is saved, then all items are removed from the player, and the jail uniform is assigned. If the player escapes jail, their gear is not returned, if they pay bail or do their full time, they recieve their clothing back!

YOU WILL ALSO NEED YOUR OWN CLOTHES, 

"player addUniform "PUT YOUR UNIFORM FOR JAIL HERE!!!!!";"

Go to MissionFile\core\civillian\fn_jailMe.sqf add this right under 

#include "..\..\script_macros.hpp"
/*
 Author Bryan "Tonic" Boardwine
 Description:
 Once word is received by the server the rest of the jail execution is completed.
 Edited by Neil Smith
*/
private["_time","_bail","_esc","_countDown"];
params [
 ["_ret",[],[[]]],
 ["_bad",false,[false]],
 ["_time",15,[0]]
];

put this under it:

make sure you replace "player addUniform "PUT YOUR UNIFORM FOR JAIL HERE!!!!!";"

//Begin jail uniform
hint "Your gear has been placed in the evidence locker!";
old_gear = getUnitLoadout player;
removeUniform player;
removeHeadgear player;
removeVest player;
removeGoggles player;
removeBackpack player;
removeallWeapons player;
removeallAssignedItems player;
player addUniform "PUT YOUR UNIFORM FOR JAIL HERE!!!!!";

you should now have this:

#include "..\..\script_macros.hpp"
/*
 Author Bryan "Tonic" Boardwine
 Description:
 Once word is received by the server the rest of the jail execution is completed.
 Edited by Neil Smith
*/
private["_time","_bail","_esc","_countDown"];
params [
 ["_ret",[],[[]]],
 ["_bad",false,[false]],
 ["_time",15,[0]]
];

//Begin jail uniform
hint "Your gear has been placed in the evidence locker!";
old_gear = getUnitLoadout player;
removeUniform player;
removeHeadgear player;
removeVest player;
removeGoggles player;
removeBackpack player;
removeallWeapons player;
removeallAssignedItems player;
player addUniform "PUT YOUR UNIFORM FOR JAIL HERE!!!!!";

Now scroll down and add this for each case function, depending on if you want the players to get their gear on what case

(Note: case _bail means they paid the bail and they are now free, case _esc means they escaped prison, and case !_esc && !_bail means they did their full time in prison)

 

 player setUnitLoadout old_gear;
 hint "Because you have done your time in prison, you will recieve your clothing shortly";
 [] call life_fnc_saveGear;

 

An example of what you should have depending on how you want it:

switch (true) do {
 case (_bail): {
 life_is_arrested = false;
 life_bail_paid = false;
 hint localize "STR_Jail_Paid";
 serv_wanted_remove = [player];
 player setPos (getMarkerPos "civ_spawn_1");
 [getPlayerUID player] remoteExecCall ["life_fnc_wantedRemove",RSERV];
 hint "Because you have paid your bail, you will recieve your clothing shortly";
 player setUnitLoadout old_gear;
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
 case (_esc): {
 life_is_arrested = false;
 hint localize "STR_Jail_EscapeSelf";
 [0,"STR_Jail_EscapeNOTF",true,[profileName]] remoteExecCall ["life_fnc_broadcast",RCLIENT];
 [getPlayerUID player,profileName,"901"] remoteExecCall ["life_fnc_wantedAdd",RSERV];
 hint "Because you escaped from jail, the jail guards have placed your gear in the trash";
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
 case (alive player && !_esc && !_bail): {
 life_is_arrested = false;
 hint localize "STR_Jail_Released";
 [getPlayerUID player] remoteExecCall ["life_fnc_wantedRemove",RSERV];
 player setPos (getMarkerPos "civ_spawn_1");
 player setUnitLoadout old_gear;
 hint "Because you have done your time in prison, you will recieve your clothing shortly";
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
};

 

Example full script if you are completely lost

  Reveal hidden contents

#include "..\..\script_macros.hpp"
/*
 Author Bryan "Tonic" Boardwine
 Description:
 Once word is received by the server the rest of the jail execution is completed.
 Edited by Neil Smith
*/
private["_time","_bail","_esc","_countDown"];
params [
 ["_ret",[],[[]]],
 ["_bad",false,[false]],
 ["_time",15,[0]]
];

//Begin jail uniform
hint "Your gear has been placed in the evidence locker!";
old_gear = getUnitLoadout player;
removeUniform player;
removeHeadgear player;
removeVest player;
removeGoggles player;
removeBackpack player;
removeallWeapons player;
removeallAssignedItems player;
player addUniform "PUT YOUR UNIFORM FOR JAIL HERE!!!!!";

_time = time + (_time * 60);
if (count _ret > 0) then { life_bail_amount = (_ret select 2); } else { life_bail_amount = 1500; };
_esc = false;
_bail = false;
if(_time <= 0) then { _time = time + (15 * 60); hintC "Please Report to Admin: JAIL_FALLBACK_15, time is zero!"; };
[_bad,_time] spawn {
 life_canpay_bail = false;
 life_bail_amount = life_bail_amount * 5;
 if(_this select 0) then {
 sleep ( (_this select 1) * 0.5 );
 } else {
 sleep ( (_this select 1) * 0.2 );
 };
 life_canpay_bail = nil;
};
while {true} do {
 if((round(_time - time)) > 0) then {
 _countDown = if(round (_time - time) > 60) then {format["%1 Minute(s)",round(round(_time - time) / 60)]} else {format["%1 Second(s)",round(_time - time)]};
 if(isNil "life_canpay_bail") then {
 hintSilent format["Time Remaining:\n %1\n\nCan pay Bail: %3\nBail Amount: $%2",_countDown,[life_bail_amount] call life_fnc_numberText, "dass"];
 } else {
 hintSilent format["Time Remaining:\n %1\n",_countDown];
 };
 };
 if(player distance (getMarkerPos "jail_marker") > 300) exitWith {
 _esc = true;
 };
 if(life_bail_paid) exitWith {
 _bail = true;
 };
 if((round(_time - time)) < 1) exitWith {hint ""};
 if(!alive player && ((round(_time - time)) > 0)) exitWith {};
 sleep 1;
};


switch (true) do {
 case (_bail): {
 life_is_arrested = false;
 life_bail_paid = false;
 hint localize "STR_Jail_Paid";
 serv_wanted_remove = [player];
 player setPos (getMarkerPos "civ_spawn_1");
 [getPlayerUID player] remoteExecCall ["life_fnc_wantedRemove",RSERV];
 hint "Because you have paid your bail, you will recieve your clothing shortly";
 player setUnitLoadout old_gear;
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
 case (_esc): {
 life_is_arrested = false;
 hint localize "STR_Jail_EscapeSelf";
 [0,"STR_Jail_EscapeNOTF",true,[profileName]] remoteExecCall ["life_fnc_broadcast",RCLIENT];
 [getPlayerUID player,profileName,"901"] remoteExecCall ["life_fnc_wantedAdd",RSERV];
 hint "Because you escaped from jail, the jail guards have placed your gear in the trash";
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
 case (alive player && !_esc && !_bail): {
 life_is_arrested = false;
 hint localize "STR_Jail_Released";
 [getPlayerUID player] remoteExecCall ["life_fnc_wantedRemove",RSERV];
 player setPos (getMarkerPos "civ_spawn_1");
 player setUnitLoadout old_gear;
 hint "Because you have done your time in prison, you will recieve your clothing shortly";
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
};

 

Special thanks to @DesusaED and @TwisT For confirming and helping me fix an issue

Hello!
How to return a rebel license if the player escapes from prison?

Share this post


Link to post
Share on other sites
6 hours ago, artur_op said:

Hello!
How to return a rebel license if the player escapes from prison?

well the life_fnc_removeLicenses is in fn_jail you could try
 

switch (true) do {
 case (_bail): {
 life_is_arrested = false;
 life_bail_paid = false;
 hint localize "STR_Jail_Paid";
 serv_wanted_remove = [player];
 player setPos (getMarkerPos "civ_spawn_1");
 [getPlayerUID player] remoteExecCall ["life_fnc_wantedRemove",RSERV];
 hint "Because you have paid your bail, you will recieve your clothing shortly";
 player setUnitLoadout old_gear;
 hint localize "STR_Jail_LicenseNOTF";
 [1] call life_fnc_removeLicenses;
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
 case (_esc): {
 life_is_arrested = false;
 hint localize "STR_Jail_EscapeSelf";
 [0,"STR_Jail_EscapeNOTF",true,[profileName]] remoteExecCall ["life_fnc_broadcast",RCLIENT];
 [getPlayerUID player,profileName,"901"] remoteExecCall ["life_fnc_wantedAdd",RSERV];
 hint "Because you escaped from jail, the jail guards have placed your gear in the trash";
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
 case (alive player && !_esc && !_bail): {
 life_is_arrested = false;
 hint localize "STR_Jail_Released";
 [getPlayerUID player] remoteExecCall ["life_fnc_wantedRemove",RSERV];
 player setPos (getMarkerPos "civ_spawn_1");
 player setUnitLoadout old_gear;
 hint "Because you have done your time in prison, you will recieve your clothing shortly";
 hint localize "STR_Jail_LicenseNOTF";
 [1] call life_fnc_removeLicenses;
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
};

and remove

 hint localize "STR_Jail_LicenseNOTF";
 [1] call life_fnc_removeLicenses;

 from fn_jail.sqf . so it removes the licenses if you do ur time or pay bail but if you escape it doesn't remove ur licenses. I have not tested it so yeah :)

Edited by Daniel Stewart

Share this post


Link to post
Share on other sites
On 1/10/2019 at 7:19 AM, Daniel Stewart said:

well the life_fnc_removeLicenses is in fn_jail you could try
 

switch (true) do {
 case (_bail): {
 life_is_arrested = false;
 life_bail_paid = false;
 hint localize "STR_Jail_Paid";
 serv_wanted_remove = [player];
 player setPos (getMarkerPos "civ_spawn_1");
 [getPlayerUID player] remoteExecCall ["life_fnc_wantedRemove",RSERV];
 hint "Because you have paid your bail, you will recieve your clothing shortly";
 player setUnitLoadout old_gear;
 hint localize "STR_Jail_LicenseNOTF";
 [1] call life_fnc_removeLicenses;
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
 case (_esc): {
 life_is_arrested = false;
 hint localize "STR_Jail_EscapeSelf";
 [0,"STR_Jail_EscapeNOTF",true,[profileName]] remoteExecCall ["life_fnc_broadcast",RCLIENT];
 [getPlayerUID player,profileName,"901"] remoteExecCall ["life_fnc_wantedAdd",RSERV];
 hint "Because you escaped from jail, the jail guards have placed your gear in the trash";
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
 case (alive player && !_esc && !_bail): {
 life_is_arrested = false;
 hint localize "STR_Jail_Released";
 [getPlayerUID player] remoteExecCall ["life_fnc_wantedRemove",RSERV];
 player setPos (getMarkerPos "civ_spawn_1");
 player setUnitLoadout old_gear;
 hint "Because you have done your time in prison, you will recieve your clothing shortly";
 hint localize "STR_Jail_LicenseNOTF";
 [1] call life_fnc_removeLicenses;
 [] call life_fnc_saveGear;
 [5] call SOCK_fnc_updatePartial;
 };
};

and remove

 hint localize "STR_Jail_LicenseNOTF";
 [1] call life_fnc_removeLicenses;

 from fn_jail.sqf . so it removes the licenses if you do ur time or pay bail but if you escape it doesn't remove ur licenses. I have not tested it so yeah :)

Thank you, it worked perfectly for me! V5.0

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...