[FilterScript] [FS] SWEMike's Knockout
#1

SWEMike's Knockout
[DESCRIPTION]
This script has got two settings defines:
pawn Код:
#define DIZZ_WAIT  5 //Seconds to wait until player gets dizzy.
#define FULL_WAIT  40 //Seconds after becoming dizzy to wait until the player regains full control.
With the default settings the player will go in to an unconscious state when health is at 20%, then after 5 seconds the player will get dizzy (animation and drunklevel) for 40 seconds. After 40 seconds the player will be fully restored but the HP will still be the same.

The knockout functions will be retriggered after dying or going over 20% health.

[COMMANDS]
RCON admin only: /knockout (This is a test command that sets your hp to 20% to simulate the knockout without any misses.)

[DOWNLOADS]
[BUGS]
The animation doesn't clear in:

pawn Код:
public RegainCons2(playerid)
{
    SendClientMessage(playerid, COLOR_NOTICE, "You have fully regained control over your body and can continue normally.");
    SetPlayerDrunkLevel(playerid, 0);
    PlayerInfo[playerid][pDrunk] = 0;
    ClearAnimations(playerid);
    return 1;
}
I need some way to disable aiming and punching/shooting to stop the animation. (High priority)
Reply
#2

WOW! Nice one.I will try it one I can access an normal PC!

Great Job.I will feed back later about the coding and shit
Reply
#3

Very nice.
Reply
#4

Thanks both of you, I will try the best I can to get those bugs away. I'm just gonna chill and play on some other server for a while. :P
Reply
#5

Very nice,

Vдldigt najs
Reply
#6

Najs дr bajs, det hдr дr grymt
Reply
#7

:P Thanks! But speak english on international forums, please.
Reply
#8

the download does not work it gives html file
Reply
#9

Quote:
Originally Posted by Namaco
the download does not work it gives html file
What browser are you using?
Reply
#10

I still need help with this... Read under bugs in the first post.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)