[ADVANCED] Diepos / Deathpos System

Started by MRSK143, Oct 10, 2021, 03:26 AM

Previous topic - Next topic

MRSK143

Hi guys i have made Diepos / Deathpos system that is free from bugs here the diepos.nut file download it and paste it in your server scripts folder



now you just have to paste some lines on different events

[spoiler]Paste this line in onScriptLoad
dofile("scripts/diepos.nut");
diepos.CreateDieposArray();

Paste This Line in onPlayerJoin
diepos.ConnectClassWithPlayer(player);
Paste This Line in onPlayerDeath
diepos.SaveDeathPosistion(player);
Paste This Line in onPlayerKilll
diepos.SaveDeathPosistion(player);
Paste This Line In onPlayerSpawn
diepos.LoadDeathPosition(player);
Paste This Line In onPlayerCommand
diepos.DiePosCMDS(player, cmd, text);[/spoiler]

So The Code Is Tested IF You are facing any problem in this contact me on discord MR SK#5162
@mR_Sk@