function BurnPlayer(%Client,%BurnLoops)
{
if(!isObject(%Client))
return;
if(%BurnLoops < 1)
return;
if(!isObject(%Client.Player))
return;
%BurnLoops--;
%Player = %Client.Player;
%Player.AddHealth(-5);
%Player.Burn(1);
Schedule(1000,0,BurnPlayer,%Client,%BurnLoops);
}
BurnPlayer(FindClientByName("Name"),5);
I don't really know what you were asking for but I figured it was something along the lines of this, if not please attempt to explain yourself better