Esx mafia, biker, cartel, gangjob


#41

in the config.lua put “en”


#42

Just put en in the end of the file or what do you mean?


#43

open file config

Config = {}
Config.DrawDistance = 100.0
Config.MarkerType = 1
Config.MarkerSize = { x = 1.5, y = 1.5, z = 1.0 }
Config.MarkerColor = { r = 50, g = 50, b = 204 }
Config.EnablePlayerManagement = true
Config.EnableArmoryManagement = true
Config.EnableESXIdentity = true – only turn this on if you are using esx_identity
Config.EnableNonFreemodePeds = false – turn this on if you want custom peds
Config.EnableSocietyOwnedVehicles = false
Config.EnableLicenses = false
Config.MaxInService = -1
Config.Locale = ‘fr’ <<<<<<<<<<<<<<<<<<<<<<<<its here put “en”


#44

Does already say en there. Should i try putting the file you sent in there?


#45

wait a few minutes i will do one for you


#46

en.lua (4.9 KB)
let’s me know if it works


#47

Couldnt get it to work so I downloaded esx-mafia again. When i put the sql file into the database it says that you need to put in mafia… job list and stuff like that. When it says create Table fines_types_mafia. Should i then create a new category?


#48

remove all what you did and do it correctly.

  1. import sql
    2)seconde put esx-mafia in your ressource in the esx folder .
    3 put “en” in cinfig.lua
  2. start it in .cfg
  3. deleted the cache files of server
    6)restart the server

#49

But I havent coded it in to the heidi database. I have to do that first right? I think my friend had downloaded the worng mafia file


#50

ok, try that…
but i think remove all you did and do it like i said up it’s a advence


#51

But I have one problem. It says that I need to create a new table. How do I do that?


#52

just import the table you need

INSERT INTO addon_account (name, label, shared) VALUES
(‘society_mafia’,‘Mafia’,1)
;

INSERT INTO datastore (name, label, shared) VALUES
(‘society_mafia’,‘Mafia’,1)
;

INSERT INTO addon_inventory (name, label, shared) VALUES
(‘society_mafia’, ‘Mafia’, 1)
;

INSERT INTO jobs (name, label, whitelisted) VALUES
(‘mafia’, ‘Mafia’, 1);


– Déchargement des données de la table jobs_grades

INSERT INTO job_grades (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
(‘mafia’, 0, ‘soldato’, ‘Ptite-Frappe’, 1500, ‘{}’, ‘{}’),
(‘mafia’, 1, ‘capo’, ‘Capo’, 1800, ‘{}’, ‘{}’),
(‘mafia’, 2, ‘consigliere’, ‘Consigliere’, 2100, ‘{}’, ‘{}’),
(‘mafia’, 3, ‘boss’, ‘Parain’, 2700, ‘{}’, ‘{}’);

CREATE TABLE fine_types_mafia (

id int(11) NOT NULL AUTO_INCREMENT,
label varchar(255) DEFAULT NULL,
amount int(11) DEFAULT NULL,
category int(11) DEFAULT NULL,

PRIMARY KEY (id)
);

INSERT INTO fine_types_mafia (label, amount, category) VALUES
(‘Raket’,3000,0),
(‘Raket’,5000,0),
(‘Raket’,10000,1),
(‘Raket’,20000,1),
(‘Raket’,50000,2),
(‘Raket’,150000,3),
(‘Raket’,350000,3)
;


#53

esx_mafiajob.sql (1.1 KB)


#54

Im kinda new to heidisql. Do I have to add everything thaht is under CREATE TABLE fine_types_mafia?


#55

yes take my file and import all esx_mafiajob.sql


#56

Yes, but I know how to add everything except for when i need to create a new table becuase I dont know how to do that.


#57

normally you dont have to create one it will do itself go in the heidisql go jobs table then clic on import i think it’s like phpmyadmin i do not use heidisql


#58

Is it easier on phpadmin? I cant figure it out on heidi


#59

yes of course you can but i don"t use heidi i dont know how


#60

Okey so I now figured out how to fix it, but i cant see the action menus at the mafia place. How do I fix that?