Help on Respawning at nearest hospital

Heya,

I’m using the Vrp scripts and I want to add a function so that when someone dies, he will spawn at nearest hospital instead of a random or 1 death spawn location.

cfg.spawn_death = {340.44674682617,-1388.2272949219,32.509239196777} – x,y,z for death location

is what I’m using right now.

Please ask this question in the resource specific topic that is responsible for that configuration setting

For some reason I cannot create a topic under resource as that topic is not shown in my list. Therefor I created it here.

You should not create a new topic, but instead post a reply in the resource that is responsible for creating that spawn point.