Jump to content

Corpse System


Recommended Posts

Script name: Corpse SystemImage

Script author: Kane

 

 

 

 


 

Introduction

This feature will spawn corpses after a dead player uses /respawnme.

 


Commands

  • /corpsehelp

For corpse help.

  • /corpse examine

A command to examine the body.

  • /corpse bodybag

The command to bag the body.

  • /corpse vehicle

The command to put the body in the vehicle.

  • /corpse requestcoroner 

The command to request the coroner.

  • /corpse deliver 

The command to request the coroner.

 


Foundations

A corpse will despawn 20 minutes after its been up. If someone interacts with a corpse, it'll slow down the despawn by 3 to 5 minutes depending on the action. A corpse can be put in to a bodybag and in to the trunk of a vehicle with or without a bodybag.

 


Coroner aspect

There are two ways to deal with a corpse as law enforcement.

 

If there's no FD available, PD SD and DCR have the option of using the /corpse requestcoroner command. What this will do is simply set the corpse to despawn in 1 minute. A corpse must be up for at least 6 minutes for this to be available first. After doing so, you can just NPC the coroner process per usual. This should only be done if no FD is available to respond. PD/SD must make a reasonable attempt to contact FD through IG means. It is unreasonable to expect FD to drive all the way to SACF in to a prison so DCR is exempt from this.

 

If FD is available, they'll have the means of despawning a corpse once they've driven it to All Saints or County General. As an incentive, FD members who deliver these corpses receive $2000 per corpse at Payday. With that being said, FD is not acting in a coroner's office capacity. This could be roleplayed as driving an injured person to the hospital and them being declared dead on arrival. FD will have access to /coroner deliver which will despawn the corpse after its all been roleplayed.

 


Bodybag

Any on-duty law enforcement and the fire department will have access to an unlimited amount of bodybags.

 

As a player, you don't. However, a regular player may steal a bodybag if one is placed on the floor and use it on a corpse later. You are only limited to 1 here and it'll go away if you relog.

 

Moving a corpse in and out of a bodybag will add a 3 minute buffer to the despawn time.

 


Vehicle

6ZmGcrQ.png

As I said, you can put a corpse in a vehicle with or without a bodybag.

Unfortunately, due to sa-mp limitations, it wouldn't be feasible to display a real player model on the vehicle. A bodybag would have been possible but it'd just be unreasonable to make if we can't have both. Nonetheless, a label will be displayed in its place.

 

If the trunk of your vehicle is open or damaged, a label will be created to tell everyone that there's a corpse or bodybag there. If your vehicle takes damage and your trunk breaks, a label will also be created. So do drive safely if you're driving around with a corpse in your trunk.

 

Z9BXrYn.png

If a vehicle is destroyed with a corpse inside, that corpse will also be despawned.

If a vehicle is parked with a corpse inside, that corpse will be removed from the vehicle and spawned behind the trunk.

A vehicle cannot be towed if it has a corpse in it.

 

Moving a corpse in and out of a vehicle will add a 5 minute buffer to the despawn time.

 

Edited by asapdev
Link to comment
Share on other sites

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.