[HELP] Player respawn at death position


#1

Hello

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


#2

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!

:snail: