[Release] Job: Save people, be a hero! (paramedic, emergency, coma, KO)

How does this interact with RP Death?

Has anyone figured out to make this work with fxservers?

Error loading script server/sv_emergency.lua in resource emergency: server/sv_emergency.lua:10: attempt to call a nil value (global ‘require’)
[ 630275] stack traceback:
[ 630275] server/sv_emergency.lua:10: in main chunk
[ 630275] Failed to load script server/sv_emergency.lua.

can u please help

CHARSET=utf8;

ALTER TABLE users ADD JOB int(11) DEFAULT ‘1’;

INSERT INTO jobs (job_id, job_name, salary) VALUES (11, ‘Ambulancier’, 1200);

UPDATE users SET job = 11 WHERE identifier = ‘steam:11000011722000’;

ALTER TABLE users ADD enService boolean NOT NULL DEFAULT FALSE;
[Msg] Finished - Unsuccessfully

any ideas??? please help

Error loading script server.lua in resource skin_customization: server.lua:1: attempt to call a nil value (global ‘require’)
stack traceback:
server.lua:1: in main chunk
Failed to load script server.lua.
Started resource skin_customization
Error loading script server/sv_emergency.lua in resource emergency: server/sv_emergency.lua:10: attempt to call a nil value (global ‘require’)
stack traceback:
server/sv_emergency.lua:10: in main chunk
Failed to load script server/sv_emergency.lua.

ok i been going over vids in youtube for how to Execute a SQL file for your mod or any for that matter if anyone can help me that Be Great

It does not recognize me as a paramedic although all the coding is correct

My database states my Job id is set to ‘11’ but no matter what i try or how many times i refresh and attempt to re-run the SQL it states ‘not a doctor’.

I would really appreciate it if you could help me out. I have no errors as such everything is running fine and the option is there but i cannot go on duty. i have tried everything for my community.

i have changed the number to 9 also in all the files and re ran the SQL and i cant go on duty. If someone could help :frowning:

To add - all the tables are correct i have en service, jobs which ambulance ‘11’ is among them.

Kindest regards,

the problem occurred when the server starts

Error loading script server/sv_emergency.lua in resource emergency-master: server/sv_emergency.lua:13: attempt to call a nil value (global ‘require’)

Imgur

Nobody work to convert this script for FxServer ? :frowning:

i press e nothing happens?

same problem here trying to figure it out. Error loading script server/sv_emergency.lua in resource emergency-master: server/sv_emergency.lua:10: attempt to call a nil value (global ‘require’)

Hi there I am getting a error within my one for the sql, im trying to import the file and coming up with some errors. https://ibb.co/kQd0fz here is the url so you can take a look at the error for me. Could some one explain how to fix this please? Thanks in advance or add me on discord Kaptainstan-1K-69#8302
thanks.

whats the command to add soemone to em s i cant find a command for it or anything

SQL Error (1060): Duplicate column name ‘JOB’
Can someone help me?