Vérifié [v1.3.1] Fine/Fining System Customizable

Slick Aj

Master 🏆
Level 4
VeryFriend's

Torrents Stats

Messages
299
J'aime
4 383
Trophées
747
Inscrit
12 Novembre 2017
5f071d23e5b752c523583fd764caa224.png

GmodStore : image ou lien HS supprimé​
( Version 1.3.1 )​
Téléchargement :
Contenu masqué
Vous devez aimer ce post pour à accéder à ce contenu.
Cette annonce ne subira plus aucune mise à jour.
By Slick Aj
 
Dernière édition:

YaZhok

Master 🏆
Level 3

Torrents Stats

Messages
140
J'aime
360
Trophées
395
Inscrit
27 Décembre 2017
Super comme addons !
EDIT : FONCTIONNE :thumbsup:
 
Dernière édition:

Mylun

l'Actif 🥉
Level 1

Torrents Stats

Messages
2
J'aime
1
Trophées
76
Inscrit
8 Juin 2018
Ne marche pas chez moi :/
 

Slick Aj

Master 🏆
Level 4
VeryFriend's

Torrents Stats

Messages
299
J'aime
4 383
Trophées
747
Inscrit
12 Novembre 2017

Slick Aj

Master 🏆
Level 4
VeryFriend's

Torrents Stats

Messages
299
J'aime
4 383
Trophées
747
Inscrit
12 Novembre 2017
Il ne manque rien, c'est bien la toute dernière version payée par moi-même....
-- Preuve --
http://prntscr.com/k0h84p
 

VadorFR

Master 🏆
Level 1

Torrents Stats

Messages
52
J'aime
0
Trophées
356
Inscrit
15 Octobre 2017
Je ne sais pas si ce problème vient que de moi mais il me manque une partie dans config... Si une personne aurait une solution ;)
http://prntscr.com/k2yj2w
 

Slick Aj

Master 🏆
Level 4
VeryFriend's

Torrents Stats

Messages
299
J'aime
4 383
Trophées
747
Inscrit
12 Novembre 2017
Je ne sais pas si ce problème vient que de moi mais il me manque une partie dans config... Si une personne aurait une solution ;)
http://prntscr.com/k2yj2w
Voilà la config entière de la version v1.3.0.
Code:
--[[
You can now allow users to input their own reason and amount
Translation system - Only English available at the moment, contact me if you wanna contribute with translations!
Minor fixes and adjustments

Configs added:
Custom Fine
Max Custom Fine Amount
Language to use
]]
 
FineSystemConfig = {}
 
--Contact me on SF for help to translate
--Languages available:
--[[
English
]]
FineSystemConfig.LanguageToUse = "English"
//Allow users to enter a custom amount and reason
FineSystemConfig.CustomFine = true
//Maximum amount the custom fine can be
FineSystemConfig.MaxCustomFineAmount = 500
//How many percent of the fine, the finer gets
FineSystemConfig.PercentGain = .50
--[[
0 = nothing
1 = Wanted
2 = Jailed
]]
FineSystemConfig.PunishmentType = 1
//How long a person get wanted if he/she denies a fine
FineSystemConfig.WantedTime = 300
//How long a person get jailed if he/she denies a fine
FineSystemConfig.JailTime = 300
//How close must the finer and the person getting a fine be
FineSystemConfig.DistanceAllowed = 400
//Should player be freezed while being fined?
FineSystemConfig.FreezeFining = true
//After how long should the player be unfrozen if fine isn't sent?
FineSystemConfig.UnFreezeTimer = 10
//Should fine be auto denied after X seconds?
FineSystemConfig.AutoDenyFine = true
//Time until fine is auto denied
FineSystemConfig.AutoDenyFineTimer = 120
//If fining vehicles should be enabled
FineSystemConfig.CanFineVehicles = true
//Remove all vehicles fine written by player when player switches team
FineSystemConfig.ResetVehicleFineOnJobChange = false

//make sure jobs are created first
timer.Simple(3, function()
    //Jobs that can fine
    FineSystemConfig.Jobs = {TEAM_POLICE}
    //Jobs that can't be fined
    FineSystemConfig.Blacklist = {TEAM_POLICE, TEAM_CHIEF}
end)

//Law table for all Sections+Laws
//{SECTION NAME,{LAW NAME, AMOUNT,CAN FINE VEHICLE, {TEAM_RESTRICTIONS}}}
//Example {"General",{{'Wasting Police Time',200, true,{TEAM_POLICE,TEAM_CHIEF}}}}
//Leave the restriction part out if you want it for all fining jobs so like this -> {"General",{{'Wasting Police Time',200, true}}}
//Can fine vehicle means if the player can write the fine for a vehicle, for example if it's parked wrong
FineSystemConfig.Laws = {
{"General",{
    {"Wasting Police Time",200},
    {"Prank Calls",200},
    {"Resisting Arrest",500},
    {"Refusing to listen",200},
    {"Helping a suspect",500},
    {"Swearing/Unpleasant Talk",200},
    {"Prostitution",300},
    {"Threatening or Intimidating",250}
}},
 
{"Traffic",{
    {"Reckless Driving",500, true},
    {"Passing a red light",300, true},
    {"Illegal U-Turn",300, true},
    {"Speeding",300, true},
    {"Illegal Parking",300, true},
    {"Ramming Cars",600, true},
    {"Illegal Street Race",600}
}},
         
{"Drugs", {          
    {"Driving under influence of drugs",300},
    {"Car Theft",800},
    {"Growing Drugs",500},
    {"Consuming Drugs",300},
    {"Selling Drugs",500},
    {"Asking for Drugs",150}
}},
         
{"Assault/Weapons/Damage", {              
    {"Possession of illegal Weapons",500},
    {"Wielding weapon in public",250},
    {"Assault",500},
    {"Murder",1500},
    {"Kidnapping",900},
    {"Sexual Assault / Rape",600},
    {"Burglary",250},
    {"Robbery",500},
    {"Public Damage",300}
}}            
};
Elle a étais supprimé de la v1.3.1.
 

VadorFR

Master 🏆
Level 1

Torrents Stats

Messages
52
J'aime
0
Trophées
356
Inscrit
15 Octobre 2017
Voilà la config entière de la version v1.3.0.
Code:
--[[
You can now allow users to input their own reason and amount
Translation system - Only English available at the moment, contact me if you wanna contribute with translations!
Minor fixes and adjustments

Configs added:
Custom Fine
Max Custom Fine Amount
Language to use
]]
 
FineSystemConfig = {}
 
--Contact me on SF for help to translate
--Languages available:
--[[
English
]]
FineSystemConfig.LanguageToUse = "English"
//Allow users to enter a custom amount and reason
FineSystemConfig.CustomFine = true
//Maximum amount the custom fine can be
FineSystemConfig.MaxCustomFineAmount = 500
//How many percent of the fine, the finer gets
FineSystemConfig.PercentGain = .50
--[[
0 = nothing
1 = Wanted
2 = Jailed
]]
FineSystemConfig.PunishmentType = 1
//How long a person get wanted if he/she denies a fine
FineSystemConfig.WantedTime = 300
//How long a person get jailed if he/she denies a fine
FineSystemConfig.JailTime = 300
//How close must the finer and the person getting a fine be
FineSystemConfig.DistanceAllowed = 400
//Should player be freezed while being fined?
FineSystemConfig.FreezeFining = true
//After how long should the player be unfrozen if fine isn't sent?
FineSystemConfig.UnFreezeTimer = 10
//Should fine be auto denied after X seconds?
FineSystemConfig.AutoDenyFine = true
//Time until fine is auto denied
FineSystemConfig.AutoDenyFineTimer = 120
//If fining vehicles should be enabled
FineSystemConfig.CanFineVehicles = true
//Remove all vehicles fine written by player when player switches team
FineSystemConfig.ResetVehicleFineOnJobChange = false

//make sure jobs are created first
timer.Simple(3, function()
    //Jobs that can fine
    FineSystemConfig.Jobs = {TEAM_POLICE}
    //Jobs that can't be fined
    FineSystemConfig.Blacklist = {TEAM_POLICE, TEAM_CHIEF}
end)

//Law table for all Sections+Laws
//{SECTION NAME,{LAW NAME, AMOUNT,CAN FINE VEHICLE, {TEAM_RESTRICTIONS}}}
//Example {"General",{{'Wasting Police Time',200, true,{TEAM_POLICE,TEAM_CHIEF}}}}
//Leave the restriction part out if you want it for all fining jobs so like this -> {"General",{{'Wasting Police Time',200, true}}}
//Can fine vehicle means if the player can write the fine for a vehicle, for example if it's parked wrong
FineSystemConfig.Laws = {
{"General",{
    {"Wasting Police Time",200},
    {"Prank Calls",200},
    {"Resisting Arrest",500},
    {"Refusing to listen",200},
    {"Helping a suspect",500},
    {"Swearing/Unpleasant Talk",200},
    {"Prostitution",300},
    {"Threatening or Intimidating",250}
}},
 
{"Traffic",{
    {"Reckless Driving",500, true},
    {"Passing a red light",300, true},
    {"Illegal U-Turn",300, true},
    {"Speeding",300, true},
    {"Illegal Parking",300, true},
    {"Ramming Cars",600, true},
    {"Illegal Street Race",600}
}},
        
{"Drugs", {         
    {"Driving under influence of drugs",300},
    {"Car Theft",800},
    {"Growing Drugs",500},
    {"Consuming Drugs",300},
    {"Selling Drugs",500},
    {"Asking for Drugs",150}
}},
        
{"Assault/Weapons/Damage", {             
    {"Possession of illegal Weapons",500},
    {"Wielding weapon in public",250},
    {"Assault",500},
    {"Murder",1500},
    {"Kidnapping",900},
    {"Sexual Assault / Rape",600},
    {"Burglary",250},
    {"Robbery",500},
    {"Public Damage",300}
}}           
};
Elle a étais supprimé de la v1.3.1.
Je copie colle cetta config à la place de l'autre ? ou une autre manipulation est necessaire ?
Merci en tout cas de ta réponse :)
 

Slick Aj

Master 🏆
Level 4
VeryFriend's

Torrents Stats

Messages
299
J'aime
4 383
Trophées
747
Inscrit
12 Novembre 2017
Je copie colle cetta config à la place de l'autre ? ou une autre manipulation est necessaire ?
Merci en tout cas de ta réponse :)
Il n'y pas de problème je pense, de rien.
 

VadorFR

Master 🏆
Level 1

Torrents Stats

Messages
52
J'aime
0
Trophées
356
Inscrit
15 Octobre 2017
Il n'y pas de problème je pense, de rien.
Je viens de tester l'addons fonctionne mais on ne peut pas modifier les ammendes de base en anglais (je les ai modif mais rien ne change ca reste en anglais)
 

Slick Aj

Master 🏆
Level 4
VeryFriend's

Torrents Stats

Messages
299
J'aime
4 383
Trophées
747
Inscrit
12 Novembre 2017
Je viens de tester l'addons fonctionne mais on ne peut pas modifier les ammendes de base en anglais (je les ai modif mais rien ne change ca reste en anglais)
Code:
--Contact me on SF for help to translate
--Languages available:
--[[
English
French
German
Russian
Slovak
]]
FineSystemConfig.LanguageToUse = "English"

Voilà ;)
 

VadorFR

Master 🏆
Level 1

Torrents Stats

Messages
52
J'aime
0
Trophées
356
Inscrit
15 Octobre 2017
Code:
--Contact me on SF for help to translate
--Languages available:
--[[
English
French
German
Russian
Slovak
]]
FineSystemConfig.LanguageToUse = "English"

Voilà ;)
Ce n'est pas cela que je veux dire c'est a dire que j'ai custom mes amendes comme cela : http://prntscr.com/k30pl2
et donc en les mettant sur mon serveur sa me donne les amendes de base comme si cela n'était pas config... donc sa affiche le carnet avec ces addons : http://prntscr.com/k30qbn ....:)
 

Slick Aj

Master 🏆
Level 4
VeryFriend's

Torrents Stats

Messages
299
J'aime
4 383
Trophées
747
Inscrit
12 Novembre 2017
Haut Bas