function serverCmdarenarespawn(%x) //THE FUNCTION
{
if(%x.player.isinRing $="1") // CHECKS IF PLAYER IS IN THE RING
{
%x.player.setDamageLevel(0); // IF THEY ARE SETS THEIR DAMAGE TO 0 (fULL hEALTH)
%x.player.setTransform("401.886 437.511 936.775"); //SPAWNS THEM OUT.
%x.player.isinRing=0; //SETS ISINRING TO 0 SO THEY CAN'T CHEAT
}
else
{
commandtoserver('respawn'); // IF THEY ARE NOT IN THE RING THEY WILL JUST SPAWN
}
}