here is my job client main

main.lua (67.2 KB)

here is my job server main

main.lua (13.3 KB)

thanks again for your help :wink:

I’ll try it for tomorrow mate. ok?

I’ll give you the files back.

A comma was missing in your client.lua.

Would you try it now and tell me if it works?

main client.lua (67.2 KB)

ok thank you very much for your contribution. I’m going to test this today and you’ll know

1 Like

It’s perfect buddy, everything works nickel! it’s super nice and pro from you to help me! still a big GG.
Last question, to change the sanction time how can we do?

1 Like

You’re welcome.

Time is in client.lua.

    'default', GetCurrentResourceName(), 'federal',
    {
      title    = 'Sentence Fédérale',
      align    = 'top-left',
      elements = {
        {label = '1 mois',   value = 1},
        {label = '2 mois',   value = 2},
        {label = '3 mois',   value = 3},
        {label = '4 mois',   value = 4},
        {label = '5 mois',   value = 5},
        {label = '6 mois',   value = 6},
        {label = '7 mois',   value = 7},
        {label = '8 mois',   value = 8},
        {label = '9 mois',   value = 9},
        {label = '10 mois',  value = 10},
        {label = '11 mois',  value = 11},
        {label = '1 an',     value = 12}
      },
    },

Just change with what you want !