Basically it makes ppl sleep for a certain time period. If they try to click out of sleep, they will instantly sleep again. At the moment the time period is 30sec but you can change it!!
Downloads:
I will put the script up instead.
//pass out script by Vampiro cop
movemap.bind(keyboard, "ctrl q", 'startPassout');
function startPassout()
{
displayTime(30);
}
function startSleep()
{
if(%time != 0)
{
commandtoserver('sleep');
schedule(1000, 0, "startsleep");
}
}
function displayTime(%time)
{
if(%time)
{
if(%time != 1)
chatHud.addline(%time @ " seconds untill you wake up");
else
chatHud.addline(%time @ " second untill you wake up");
%time--;
startSleep();
schedule(1000, 0, "displayTime", %time);
}
else
chatHud.addline("You awoke with a headache!");
}
Screenshots:
Same as above reason