[HELP] Player respawn at death position


Could somebody help me make a script where the player, upon death, respawn at the place where he died?

And when he types /respawn, it respawns him at the original spawn?

  • This is so that the police have a chance to clear a scene and call for EMS

I am totally new to scripting so I don’t know a damn thing about it

You could either get into Lua or C# as a start. There are several usefull links scattered around on the forums

We have a Wiki you could take a look at also take a look at NativeDB for usefull natives.

Be sure to take a look at our Releases section on the forums aswell, since there are some great
examples on it.

If you have any more questions be sure to post back!