Posts: 145
Threads: 14
Joined: Aug 2012
When player is using INV, callback OnPlayerUseInv(playerid) is called.
Pastebin:
http://pastebin.com/7rM6kQHb
Video:
http://*********/PUHe-Kathxs
Notes:
foreach.inc is required.
Posts: 1,336
Threads: 30
Joined: Aug 2010
Reputation:
0
explain more ? well quite simple thread
anyways nice
Posts: 145
Threads: 14
Joined: Aug 2012
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.