public OnPlayerUpdate(playerid){ yInv_player[playerid][is_afk] = false; yInv_player[playerid][afk] = false; return CallLocalFunction("yInv_OnPlayerUpdate", "i", playerid);}