Open arpkaz opened 2 years ago
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.
the only problem is when you are really dead it revives you, if you are still in laststand it leaves you alive
even then the ped spawns instantly on your body once you use /aimedic and it respawns you instantly.
then the script works just fine, cause thats what it does :)
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...
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. ;)
please i want aimedic work when you on laststand and when you're death
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']
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.