Giter Site home page Giter Site logo

krz_gangsbuilder's People

Contributors

korioz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

krz_gangsbuilder's Issues

[script:oxmysql] Error: krz_gangsbuilder was unable to execute a query!

Salut, je ne parviens pas à utiliser le script du à cette erreur l'ors de la création du gang, pouvez vous m'aider svp?

l'erreur :

[ script:oxmysql] Error: krz_gangsbuilder was unable to execute a query!
[ script:oxmysql] Query: INSERT INTO addon_account (name, label, shared) VALUES (?, ?, 1);
[ script:oxmysql] INSERT INTO datastore (name, label, shared) VALUES (?, ?, 1);
[ script:oxmysql] INSERT INTO addon_inventory (name, label, shared) VALUES (?, ?, 1);
[ script:oxmysql] INSERT INTO jobs (name, label, whitelisted) VALUES (?, ?, 1);
[ script:oxmysql] INSERT INTO job_grades (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
[ script:oxmysql] (?, 0, 'rookie', 'Associé', 0, '{}', '{}'),
[ script:oxmysql] (?, 1, 'member', 'Soldat', 0, '{}', '{}'),
[ script:oxmysql] (?, 2, 'elite', 'Elite', 0, '{}', '{}'),
[ script:oxmysql] (?, 3, 'lieutenant', 'Lieutenant', 0, '{}', '{}'),
[ script:oxmysql] (?, 4, 'viceboss', 'Bras Droit', 0, '{}', '{}'),
[ script:oxmysql] (?, 5, 'boss', 'Patron', 0, '{}', '{}');
[ script:oxmysql]
[ script:oxmysql] ["society_mafia","Mafia","society_mafia","Mafia","society_mafia","Mafia","mafia","Mafia","mafia","mafia","mafia","mafia","mafia","mafia"]
[ script:oxmysql] You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'INSERT INTO datastore (name, label, shared) VALUES ('society_mafia', 'Mafia',...' at line 2

Le code en question (server/builder.lua) :

RegisterServerEvent('gb:addGang')
AddEventHandler('gb:addGang', function(data)
MySQL.Async.execute([[
INSERT INTO addon_account (name, label, shared) VALUES (@gangSociety, @gangLabel, 1);
INSERT INTO datastore (name, label, shared) VALUES (@gangSociety, @gangLabel, 1);
INSERT INTO addon_inventory (name, label, shared) VALUES (@gangSociety, @gangLabel, 1);
INSERT INTO jobs (name, label, whitelisted) VALUES (@GANGNAME, @gangLabel, 1);
INSERT INTO job_grades (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
(@GANGNAME, 0, 'rookie', 'Associé', 0, '{}', '{}'),
(@GANGNAME, 1, 'member', 'Soldat', 0, '{}', '{}'),
(@GANGNAME, 2, 'elite', 'Elite', 0, '{}', '{}'),
(@GANGNAME, 3, 'lieutenant', 'Lieutenant', 0, '{}', '{}'),
(@GANGNAME, 4, 'viceboss', 'Bras Droit', 0, '{}', '{}'),
(@GANGNAME, 5, 'boss', 'Patron', 0, '{}', '{}')
;
]], {
['@GANGNAME'] = data.Name,
['@gangLabel'] = data.Label,
['@gangSociety'] = 'society_' .. data.Name
}, function(rowsChanged)
table.insert(GangsData, data)
SaveResourceFile('krz_gangsbuilder', 'data/gangData.json', json.encode(GangsData))
end)
end)

Problème Gang

Bonjour,
J'ai installé le gangs builder, tout fonctionne sauf une chose ;
Quand je fouille une autre personne je peux la fouiller sans que cette personne lève les mains et j'aimerais que les gangs puissent fouiller uniquement si l'autre lève les mains ! ( sinon les gangs deviennent des lspd au niveau fouiller ^^ )
J'espère que vous pourrez m'aider.
Merci d'avance

Pour les point qui marche pas

Bonjour, pour ceux qui quand il crée le gang mais que en BDD tout s'enregistre mais lors du setjob les points ne s'affiche pas , c'est que votre gangData.json ne se remplie pas voici comment y remédié :

La ligne avec SaveResourceFile dans server/builder.lua, le premier paramètre 'GangsBuilder' il me semble est le nom de la ressource il vous suffit donc de renommé le dossier du script pareille que ce qui est écrit ou alors de changé le nom par le nom de votre dossier que vous avez start

Scripts manquant

Bonjour,

J'ai installé tous les scripts indiqués "nécessaires" mais les gangs ne marchent pas

can't see points

hello after creating a gang it's tell's me to reboot so that everything work when i reboot the server i joined the gang job but i couldn't see the circle that i set
ps i use second job script and no errors in the consol.
please help me

Admin

Vous devez étre-r-Admin-w-pour ouvrir le g-GangsBuilder. BigDrip RP I Discord.g Comment puis-je faire cela

error scripts inthe start.bat

Hi, I downloaded your script, but when I start, I get this error. Please help me. Thank you in advance for your cooperation.

Warning: Resource krz_gangsbuilder does not specify an fx_version in fxmanifest.lua.
Couldn't start resource krz_gangsbuilder.

issue

es_extended: TriggerServerCallback => [KorioZ-PersonalMenu:Admin_getUsergroup] does not exist

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.