[Include] [ INC ] yInv (Anti-Invulnerable)
#1

When player is using INV, callback OnPlayerUseInv(playerid) is called.

Pastebin:

http://pastebin.com/7rM6kQHb

Video:

http://*********/PUHe-Kathxs

Notes:

foreach.inc is required.
Reply
#2

explain more ? well quite simple thread
anyways nice
Reply
#3

pawn Код:
public OnPlayerUpdate(playerid)
{
    yInv_player[playerid][is_afk] = false;
    yInv_player[playerid][afk] = false;
    return CallLocalFunction("yInv_OnPlayerUpdate", "i", playerid);
}
Dafuq? :O
Reply
#4

Quote:
Originally Posted by TheArcher
Посмотреть сообщение
pawn Код:
public OnPlayerUpdate(playerid)
{
    yInv_player[playerid][is_afk] = false;
    yInv_player[playerid][afk] = false;
    return CallLocalFunction("yInv_OnPlayerUpdate", "i", playerid);
}
Dafuq? :O
what is wrong with this one? If OnPlayerTakeDamage is not called, when player is in menu or alt-tabed, then additional afk checking is not required, but because im not sure about that, afk checking is integrated in this include.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)