Bodybag for NPC


#1

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:


#2

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


#3

hmmmm gonna try thanks :slight_smile:


#4

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


#5

how can i get the ped to despawn?


#6

Delete the bag entity and the player entity.