mh-aimedic icon indicating copy to clipboard operation
mh-aimedic copied to clipboard

Suggestion: Stage 2 Death.

Open arpkaz opened this issue 2 years ago • 8 comments

So basically it allows users to revive themselves even when they are stage 2. This is really bad when actually in practice as players can always be revived in any RP situation.

arpkaz avatar Jul 17 '22 00:07 arpkaz

It checks if you are realy dead and not in laststand, PlayerData.metadata['isdead'] and if there is a player medic online the aimadic deos not work, cause there are people with the job ambulance online.. this only works if there is no medic or ambulance online.

MaDHouSe79 avatar Jul 17 '22 08:07 MaDHouSe79

the only problem is when you are really dead it revives you, if you are still in laststand it leaves you alive

arpkaz avatar Jul 18 '22 00:07 arpkaz

even then the ped spawns instantly on your body once you use /aimedic and it respawns you instantly.

arpkaz avatar Jul 18 '22 01:07 arpkaz

then the script works just fine, cause thats what it does :)

MaDHouSe79 avatar Jul 18 '22 05:07 MaDHouSe79

Whats the point tho on qbcore? once your dead in rp your dead all together, and if i let say get killed mid fight i can just instantly revive myself and kill them? Good script but very misleading...

arpkaz avatar Jul 18 '22 11:07 arpkaz

That depends on your server rules, and you don't have to use it if you don't like it. still it doesn't work if there is an ems online so it only works if there is no ems online at all, and if this is the case, you can revive, but again you don't have to use it :) its just a snippet for servers that uses it with server rules, if you dont have roles on your server then dont use it. ;)

MaDHouSe79 avatar Jul 18 '22 13:07 MaDHouSe79

please i want aimedic work when you on laststand and when you're death

Oussama292006 avatar Aug 17 '22 23:08 Oussama292006

please i want aimedic work when you on laststand and when you're death

Add this to the if statement in client.lua on line 85: or PlayerData.metadata['inlaststand']

MaDHouSe79 avatar Aug 18 '22 00:08 MaDHouSe79