Bodybag for NPC


i was wondring if its possible to make a bodybag script, like when i NPC die you can /bag or somthing like that and the NPC disappear? :slight_smile:


Yes, of course it’s possible.

Use something like this sleeping bag prop_skid_sleepbag_1 that gets spawned when you enter a /bag command. When the command gets called the targeted entity gets deleted


hmmmm gonna try thanks :slight_smile:


yh thats to hard for me :frowning: am not that good :L


how can i get the ped to despawn?


Delete the bag entity and the player entity.


Any success with this, I’m intrigued?